OpenGL_Clock/CMakeLists.txt
2018-02-05 23:28:51 +01:00

27 lines
387 B
CMake

# CMake entry point
cmake_minimum_required (VERSION 3.0)
project (OpenGL_Analog_Clock)
find_package(OpenGL REQUIRED)
set(ALL_LIBS
${OPENGL_LIBRARY}
glfw
GLEW
)
add_definitions(
-DTW_STATIC
-DTW_NO_LIB_PRAGMA
-DTW_NO_DIRECT3D
-DGLEW_STATIC
-D_CRT_SECURE_NO_WARNINGS
)
add_executable(clock
main.c
)
target_link_libraries(clock
${ALL_LIBS}
)