From e689c710e46683924df890027370bbf99a6e1215 Mon Sep 17 00:00:00 2001 From: Loknath Bharti Date: Fri, 24 Apr 2020 17:16:18 -0400 Subject: [PATCH] Update CMakeLists.txt (#83) Remove comma after RAYGUI_HEADERS or make install will not install the headers because RAYGUI_HEADERS is not set. ", " is an unreported syntactic error. --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a842f5a..f6cef6b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,10 +1,10 @@ add_library(raygui INTERFACE) file(GLOB sources *.h) -set(RAYGUI_HEADERS, ${sources}) +set(RAYGUI_HEADERS ${sources}) install(FILES - ${RAYGUI_HEADERS} DESTINATION include/ + ${RAYGUI_HEADERS} DESTINATION include ) -target_include_directories(raygui INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/) \ No newline at end of file +target_include_directories(raygui INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/)