mirror of
https://github.com/vale981/arb
synced 2025-03-05 17:31:38 -05:00
Merge pull request #363 from orlitzky/GNUInstallDirs
CMakeLists.txt: support standard GNU installation directories
This commit is contained in:
commit
637582ad48
1 changed files with 5 additions and 3 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Reference in a new issue