CMAKE_INSTALL_LIBDIR with GNUInstallDirs provides a different path dependent upon whether a CMAKE_BUILD_TYPE is specified
Greetings:
My project that has include(GNUInstallDirs)
installs into slightly different paths depending upon whether CMAKE_BUILD_TYPE
is specified or not. Specifically, it will put libs (presumably via CMAKE_INSTALL_LIBDIR
) within lib
if a build type is provided and lib64
if it is not (on a x86_64 RHEL-8 system). Is this behavior intentional? Thank you for your help with this.
Kind regards, Anthony