mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-06 14:19:19 -05:00
Clean up CMake files (#90)
This commit is contained in:
@ -18,7 +18,7 @@ set(RAYGUI_HEADERS ${sources})
|
|||||||
install(FILES
|
install(FILES
|
||||||
${RAYGUI_HEADERS} DESTINATION include
|
${RAYGUI_HEADERS} DESTINATION include
|
||||||
)
|
)
|
||||||
target_include_directories(raygui INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/../../src)
|
target_include_directories(raygui INTERFACE ${RAYGUI_SRC})
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
if(${BUILD_RAYGUI_EXAMPLES})
|
if(${BUILD_RAYGUI_EXAMPLES})
|
||||||
@ -34,7 +34,6 @@ if(${BUILD_RAYGUI_EXAMPLES})
|
|||||||
controls_test_suite
|
controls_test_suite
|
||||||
image_exporter
|
image_exporter
|
||||||
property_list
|
property_list
|
||||||
standalone
|
|
||||||
text_editor
|
text_editor
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ if (NOT raylib_FOUND)
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
raylib
|
raylib
|
||||||
GIT_REPOSITORY https://github.com/raysan5/raylib.git
|
GIT_REPOSITORY https://github.com/raysan5/raylib.git
|
||||||
GIT_TAG 6a8b1079c13b7d5e1bddc0ecc86ad7e16fc2556d
|
GIT_TAG df5c522049ddd82fba048a6bd069338999729d6a
|
||||||
)
|
)
|
||||||
FetchContent_GetProperties(raylib)
|
FetchContent_GetProperties(raylib)
|
||||||
if (NOT raylib_POPULATED) # Have we downloaded raylib yet?
|
if (NOT raylib_POPULATED) # Have we downloaded raylib yet?
|
||||||
|
|||||||
Reference in New Issue
Block a user