From bbc0a9b98cb29e3da3ae73103071793c574a2808 Mon Sep 17 00:00:00 2001 From: Xerbo Date: Mon, 29 Aug 2022 13:15:59 +0100 Subject: [PATCH] Add runtime/library destination, close #16 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a89a9d7..6b88747 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,10 +90,10 @@ else() endif() if (TARGET aptdec) - install(TARGETS aptdec) + install(TARGETS aptdec RUNTIME DESTINATION bin) install(DIRECTORY "${PROJECT_SOURCE_DIR}/palettes" DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}) endif() -install(TARGETS apt PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/apt) +install(TARGETS apt PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/apt LIBRARY DESTINATION lib) include(CPack)