From 40ead046df4787e7bdf0c6ab0e626cf6ee429db0 Mon Sep 17 00:00:00 2001 From: Daniel Pielmeier Date: Sat, 9 Mar 2019 17:26:47 +0100 Subject: [PATCH] Do not install libraries into subdirectories --- src/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e5170f20..4472a28e 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_INSTALL_DIR}/conky - ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky) + LIBRARY DESTINATION ${LIB_INSTALL_DIR} + ARCHIVE DESTINATION ${LIB_INSTALL_DIR}) else() add_executable(conky main.cc ${conky_sources} ${optional_sources}) target_link_libraries(conky ${conky_libs}) @@ -299,14 +299,14 @@ endif() install(TARGETS conky RUNTIME DESTINATION bin - LIBRARY DESTINATION ${LIB_INSTALL_DIR}/conky - ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky) + LIBRARY DESTINATION ${LIB_INSTALL_DIR} + ARCHIVE DESTINATION ${LIB_INSTALL_DIR}) if(BUILD_PORT_MONITORS) install(TARGETS tcp-portmon RUNTIME DESTINATION bin - LIBRARY DESTINATION ${LIB_INSTALL_DIR}/conky - ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky) + LIBRARY DESTINATION ${LIB_INSTALL_DIR} + ARCHIVE DESTINATION ${LIB_INSTALL_DIR}) endif(BUILD_PORT_MONITORS) print_target_properties(conky)