From c8e2be941186c493853c9005ad1e50c4229c25a4 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 25 Jan 2023 06:51:53 -0600 Subject: [PATCH] Fixes GNU destination paths, hopefully. See comments https://github.com/smarco/WFA2-lib/pull/42 --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bdb264c..73aaea1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -148,8 +148,6 @@ add_wfa_test() # ---- Install -install(TARGETS wfa ARCHIVE DESTINATION lib) +install(TARGETS wfa ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) -install(FILES ${INCLUDES} DESTINATION include/wfa2lib) - -# install(DIRECTORY ${CMAKE_SOURCE_DIR}/man/ DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1) +install(FILES ${INCLUDES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/wfa2lib)