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() - -