Check for lib64 versus lib and set LIB_SUFFIX accordingly

This commit is contained in:
Carles Fernandez 2020-11-30 12:05:45 +01:00
parent 14147cce32
commit b56ed9187c
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 8 additions and 0 deletions

View File

@ -341,6 +341,14 @@ if(DOXYGEN_FOUND)
endif()
########################################################################
# Detect /lib versus /lib64
########################################################################
if(${CMAKE_INSTALL_LIBDIR} MATCHES lib64)
set(LIB_SUFFIX 64)
endif()
########################################################################
# Setup the package config file
########################################################################