fixed cmakefile

This commit is contained in:
Questor 2018-01-17 15:41:27 +01:00
parent 727cb1819b
commit fb4dbaf789

View File

@ -11,7 +11,7 @@ include_directories("../src/external")
include_directories("../src/external/glfw/include") include_directories("../src/external/glfw/include")
# Get the sources together # Get the sources together
set(example_dirs audio core models others shaders text texutures) set(example_dirs audio core models others shaders shapes text textures)
set(CMAKE_REQUIRED_DEFINITIONS -D_POSIX_C_SOURCE=199309L) set(CMAKE_REQUIRED_DEFINITIONS -D_POSIX_C_SOURCE=199309L)
include(CheckSymbolExists) include(CheckSymbolExists)
check_symbol_exists(CLOCK_MONOTONIC time.h HAVE_CLOCK_MONOTONIC) check_symbol_exists(CLOCK_MONOTONIC time.h HAVE_CLOCK_MONOTONIC)