From 61310fd3e9dc9959c7d61d7b66e40ba8704c45fa Mon Sep 17 00:00:00 2001 From: Quentin Fiard Date: Thu, 7 Nov 2013 14:24:16 +0000 Subject: [PATCH] Added install step --- CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 86d6ed19..3ced3e00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() - -