Clean up CMake files (#90)

This commit is contained in:
Rob Loach
2020-05-18 13:32:22 -04:00
committed by GitHub
parent 65bad19e26
commit 3e61557f25
2 changed files with 52 additions and 53 deletions

View File

@ -18,7 +18,7 @@ set(RAYGUI_HEADERS ${sources})
install(FILES
${RAYGUI_HEADERS} DESTINATION include
)
target_include_directories(raygui INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/../../src)
target_include_directories(raygui INTERFACE ${RAYGUI_SRC})
# Examples
if(${BUILD_RAYGUI_EXAMPLES})
@ -34,7 +34,6 @@ if(${BUILD_RAYGUI_EXAMPLES})
controls_test_suite
image_exporter
property_list
standalone
text_editor
)

View File

@ -4,7 +4,7 @@ if (NOT raylib_FOUND)
FetchContent_Declare(
raylib
GIT_REPOSITORY https://github.com/raysan5/raylib.git
GIT_TAG 6a8b1079c13b7d5e1bddc0ecc86ad7e16fc2556d
GIT_TAG df5c522049ddd82fba048a6bd069338999729d6a
)
FetchContent_GetProperties(raylib)
if (NOT raylib_POPULATED) # Have we downloaded raylib yet?