From: Michal MalĂ˝ Date: Thu, 11 May 2017 08:37:15 +0000 (+0200) Subject: Add install directive to CMake recipe X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=6c8e7af95eaf7e029ee7b607cef199760b1d0093;p=libHPCS.git Add install directive to CMake recipe --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 80b108c..5b1871c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,12 @@ add_library(HPCS SHARED ${libHPCS_SRCS}) target_link_libraries(HPCS PRIVATE ${ICU_LIBRARIES}) set_target_properties(HPCS PROPERTIES VERSION 5.0 - SOVERSION 5.0) + SOVERSION 5.0 + PUBLIC_HEADER "${PROJECT_SOURCE_DIR}/include/libhpcs.h") +install(TARGETS HPCS + LIBRARY DESTINATION lib + PUBLIC_HEADER DESTINATION include) + if (${BuildTestTool}) set(libHPCS_test_SRCS