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
@@ -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
########################################################################