Added install step

This commit is contained in:
Quentin Fiard 2013-11-07 14:24:16 +00:00
parent 59b621ecc2
commit 61310fd3e9
No known key found for this signature in database
GPG key ID: 9509737EA51D626B

View file

@ -21,7 +21,7 @@ set_property(GLOBAL
PROPERTY USE_FOLDERS ON)
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
add_definitions("-Wno-parentheses-equality")
add_definitions("-Wno-parentheses-equality")
endif()
#
@ -394,6 +394,11 @@ set_property(TARGET ${LIBNAME}
ARABICA_NOT_USE_PRAGMA_LINKER_OPTIONS
)
install(TARGETS ${LIBNAME}
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
set_source_files_properties(${ARABICA_CONFIG_FILE} PROPERTIES HEADER_FILE_ONLY TRUE)
@ -587,5 +592,3 @@ if(BUILD_ARABICA_EXAMPLES)
set_target_properties(${EXAMPLE_NAME} PROPERTIES FOLDER "3rdparty/arabica_examples")
endif()