You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-mathematics/arb/files/arb-2.18.0-multilib-strict....

21 lines
590 B

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec806fe..d6136a8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,10 +136,12 @@ if(NOT MSVC)
target_link_libraries(arb m)
endif()
+include(GNUInstallDirs)
+
install(TARGETS arb
- RUNTIME DESTINATION bin
- ARCHIVE DESTINATION lib
- LIBRARY DESTINATION lib
+ RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}"
+ ARCHIVE DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}"
+ LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}"
)
foreach (FOLDER ${FOLDERS})