From e88238a37c48328bce214972f87cd8fa4c7fa3f6 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 3 Jan 2020 16:20:27 +0100 Subject: [PATCH] Fix target_sources. --- src/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6968cfb..17b45dd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,8 +9,7 @@ add_library(${PROJECT_NAME}) file(GLOB_RECURSE sources_lib *.cpp) file(GLOB_RECURSE headers_lib ../include/*.hpp) target_sources(${PROJECT_NAME} - PRIVATE "${sources_lib}" - PUBLIC "${headers_lib}") + PRIVATE "${sources_lib}" "${headers_lib}") set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION}