|
@ -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) |
|
|