Browse Source

Add runtime/library destination, close #16

tags/v1.8.0
Xerbo 2 years ago
parent
commit
bbc0a9b98c
No known key found for this signature in database GPG Key ID: 34103F6D8F11CEB0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      CMakeLists.txt

+ 2
- 2
CMakeLists.txt View File

@@ -90,10 +90,10 @@ else()
endif() endif()


if (TARGET aptdec) 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}) install(DIRECTORY "${PROJECT_SOURCE_DIR}/palettes" DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME})
endif() 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) include(CPack)

Loading…
Cancel
Save