diff options
author | evpobr <evpobr@gmail.com> | 2017-07-04 18:59:27 +0300 |
---|---|---|
committer | evpobr <evpobr@gmail.com> | 2017-07-04 19:07:30 +0300 |
commit | 3151605c995f7de20af2762ae43c0cac34455a8b (patch) | |
tree | bc0708fe6941ecbb64f3b5cdc2e5adad59e036a9 /Project | |
parent | 8e07fae0a19a895a023c82b0274ca819a9216398 (diff) |
Fix headers installation with CMake, closes #63
Diffstat (limited to 'Project')
-rw-r--r-- | Project/CMake/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/CMake/CMakeLists.txt b/Project/CMake/CMakeLists.txt index 9785e0f..cd7c81b 100644 --- a/Project/CMake/CMakeLists.txt +++ b/Project/CMake/CMakeLists.txt @@ -121,6 +121,7 @@ target_include_directories(zen PUBLIC set_target_properties(zen PROPERTIES
VERSION ${ZenLib_VERSION}}
SOVERSION ${ZenLib_VERSION_MAJOR}
+ PUBLIC_HEADER "${ZenLib_HDRS}"
)
if(MSVC)
@@ -128,6 +129,7 @@ if(MSVC) endif()
install(TARGETS zen EXPORT zen-export
+ PUBLIC_HEADER DESTINATION ${INCLUDE_INSTALL_DIR}/ZenLib
RUNTIME DESTINATION ${BIN_INSTALL_DIR}
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
LIBRARY DESTINATION ${LIB_INSTALL_DIR})
|