Allow building on 64-bit system using lib64

Fedora uses /usr/lib64 on 64-bit systems. Allow easy configuration in
cmake to install to correct directories.
This commit is contained in:
Petr Menšík 2021-01-31 21:16:20 +01:00
parent 3c972b8cdb
commit 6be1505794
1 changed files with 3 additions and 3 deletions

View File

@ -53,8 +53,8 @@ generate_export_header(${PROJECT_NAME})
install(TARGETS pigpio pigpiod_if pigpiod_if2 pig2vcd pigpiod pigs
EXPORT ${PROJECT_NAME}Targets
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION bin
INCLUDES DESTINATION include
)
@ -124,4 +124,4 @@ endif()
# package project
include (CPack)
include (CPack)