Added install step for headers

This commit is contained in:
Quentin Fiard 2013-11-07 15:12:30 +00:00
parent 61310fd3e9
commit fc62141680
No known key found for this signature in database
GPG key ID: 9509737EA51D626B

View file

@ -379,6 +379,9 @@ set(SOURCE_FILES
)
source_group("Source Files" FILES ${SOURCE_FILES})
install(
DIRECTORY ${PROJECT_SOURCE_DIR}/include/
DESTINATION include/arabica)
add_library (${LIBNAME}
${ARABICA_CONFIG_FILE}
@ -394,10 +397,7 @@ set_property(TARGET ${LIBNAME}
ARABICA_NOT_USE_PRAGMA_LINKER_OPTIONS
)
install(TARGETS ${LIBNAME}
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
install(TARGETS ${LIBNAME} LIBRARY DESTINATION lib)
set_source_files_properties(${ARABICA_CONFIG_FILE} PROPERTIES HEADER_FILE_ONLY TRUE)