From 58d310808de2d2d640a9fa4679c3302aa15231df Mon Sep 17 00:00:00 2001 From: Daniel Pielmeier Date: Sat, 9 Mar 2019 11:07:16 +0100 Subject: [PATCH] Install libraries to the proper directories. --- src/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d0ffccb6..4f604e36 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -290,8 +290,8 @@ if(BUILD_TESTS) target_link_libraries(conky conky_core ${conky_libs}) install(TARGETS conky_core RUNTIME DESTINATION bin - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib) + LIBRARY DESTINATION ${LIB_INSTALL_DIR}/conky + ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky) else() add_executable(conky main.cc ${conky_sources} ${optional_sources}) target_link_libraries(conky ${conky_libs}) @@ -300,7 +300,7 @@ endif() # Install libtcp-portmon too? install(TARGETS conky RUNTIME DESTINATION bin - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib) + LIBRARY DESTINATION ${LIB_INSTALL_DIR}/conky + ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky) print_target_properties(conky)