mirror of
https://github.com/jezhiggins/arabica
synced 2025-02-06 20:46:18 +01:00
Added install step for headers
This commit is contained in:
parent
61310fd3e9
commit
fc62141680
1 changed files with 4 additions and 4 deletions
|
@ -379,6 +379,9 @@ set(SOURCE_FILES
|
||||||
)
|
)
|
||||||
source_group("Source Files" FILES ${SOURCE_FILES})
|
source_group("Source Files" FILES ${SOURCE_FILES})
|
||||||
|
|
||||||
|
install(
|
||||||
|
DIRECTORY ${PROJECT_SOURCE_DIR}/include/
|
||||||
|
DESTINATION include/arabica)
|
||||||
|
|
||||||
add_library (${LIBNAME}
|
add_library (${LIBNAME}
|
||||||
${ARABICA_CONFIG_FILE}
|
${ARABICA_CONFIG_FILE}
|
||||||
|
@ -394,10 +397,7 @@ set_property(TARGET ${LIBNAME}
|
||||||
ARABICA_NOT_USE_PRAGMA_LINKER_OPTIONS
|
ARABICA_NOT_USE_PRAGMA_LINKER_OPTIONS
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS ${LIBNAME}
|
install(TARGETS ${LIBNAME} LIBRARY DESTINATION lib)
|
||||||
LIBRARY DESTINATION lib
|
|
||||||
ARCHIVE DESTINATION lib
|
|
||||||
)
|
|
||||||
|
|
||||||
set_source_files_properties(${ARABICA_CONFIG_FILE} PROPERTIES HEADER_FILE_ONLY TRUE)
|
set_source_files_properties(${ARABICA_CONFIG_FILE} PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue