Fix target_sources.
This commit is contained in:
parent
94dd5f605d
commit
e88238a37c
|
@ -9,8 +9,7 @@ add_library(${PROJECT_NAME})
|
||||||
file(GLOB_RECURSE sources_lib *.cpp)
|
file(GLOB_RECURSE sources_lib *.cpp)
|
||||||
file(GLOB_RECURSE headers_lib ../include/*.hpp)
|
file(GLOB_RECURSE headers_lib ../include/*.hpp)
|
||||||
target_sources(${PROJECT_NAME}
|
target_sources(${PROJECT_NAME}
|
||||||
PRIVATE "${sources_lib}"
|
PRIVATE "${sources_lib}" "${headers_lib}")
|
||||||
PUBLIC "${headers_lib}")
|
|
||||||
|
|
||||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
VERSION ${PROJECT_VERSION}
|
VERSION ${PROJECT_VERSION}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user