From 17ad68394e443d778948dd707af2201a05f614f4 Mon Sep 17 00:00:00 2001 From: Markus Mirz Date: Wed, 19 Feb 2020 23:38:26 +0100 Subject: [PATCH] add configurable install path --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 37a5b9b4..f69da259 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -464,9 +464,9 @@ set_target_properties(${LIB_NAME} PROPERTIES FOLDER "3rdparty/arabica") # Install library # install(TARGETS ${LIB_NAME} - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib/static + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/static ) install(DIRECTORY include/ @@ -582,4 +582,5 @@ if(BUILD_ARABICA_EXAMPLES) endif() include(CPack) - + +