mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-31 19:29:18 -05:00
CMake: build shape and texture examples (#432)
This commit is contained in:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user