1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 04:32:55 +00:00

Install libraries to the proper directories.

This commit is contained in:
Daniel Pielmeier 2019-03-09 11:07:16 +01:00 committed by Brenden Matthews
parent d0f1bfb1e6
commit 58d310808d

View File

@ -290,8 +290,8 @@ if(BUILD_TESTS)
target_link_libraries(conky conky_core ${conky_libs}) target_link_libraries(conky conky_core ${conky_libs})
install(TARGETS conky_core install(TARGETS conky_core
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
LIBRARY DESTINATION lib LIBRARY DESTINATION ${LIB_INSTALL_DIR}/conky
ARCHIVE DESTINATION lib) ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky)
else() else()
add_executable(conky main.cc ${conky_sources} ${optional_sources}) add_executable(conky main.cc ${conky_sources} ${optional_sources})
target_link_libraries(conky ${conky_libs}) target_link_libraries(conky ${conky_libs})
@ -300,7 +300,7 @@ endif()
# Install libtcp-portmon too? # Install libtcp-portmon too?
install(TARGETS conky install(TARGETS conky
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
LIBRARY DESTINATION lib LIBRARY DESTINATION ${LIB_INSTALL_DIR}/conky
ARCHIVE DESTINATION lib) ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky)
print_target_properties(conky) print_target_properties(conky)