rapids_cmake_install_lib_dir

Added in version v21.10.00.

Establish a variable that holds the library installation directory.

rapids_cmake_install_lib_dir( out_variable_name [MODIFY_INSTALL_LIBDIR] )

Establishes a variable that holds the correct library installation directory ( lib or lib64 or lib/<multiarch-tuple> ). This function is CONDA aware and will return lib when it detects a project is installing in the CONDA_PREFIX

Also offers the ability to modify CMAKE_INSTALL_LIBDIR to be the computed installation directory.

Result Variables

CMAKE_INSTALL_LIBDIR will be modified to be the computed relative directory (lib or lib64 or lib/<multiarch-tuple>) when MODIFY_INSTALL_LIBDIR is provided