1f0d06b6cb
* Correct the install locations of cmake config files The cmake config files should be installed in <Install_Prefix>/lib/cmake/<component_name> * Apply suggestions from code review * Correct the install locations of cmake config files - ROCm standard for cmake config files is <install-prefix>/lib/cmake/<package-name> --------- Co-authored-by: Ranjith Ramakrishnan <Ranjith.Ramakrishnan@amd.com>
17 lines
609 B
Plaintext
17 lines
609 B
Plaintext
#%Module1.0
|
|
|
|
module-whatis "@PROJECT_NAME_UNDERSCORED@ (version @PROJECT_VERSION@)"
|
|
|
|
proc ModulesHelp { } {
|
|
puts stderr "Loads @PROJECT_NAME_UNDERSCORED@ v@PROJECT_VERSION@"
|
|
}
|
|
|
|
set ROOT [file normalize [file dirname [file normalize ${ModulesCurrentModulefile}]]/../../..]
|
|
|
|
setenv @PROJECT_NAME_UNDERSCORED@_ROOT "${ROOT}"
|
|
prepend-path CMAKE_PREFIX_PATH "${ROOT}"
|
|
prepend-path PATH "${ROOT}/bin"
|
|
prepend-path LD_LIBRARY_PATH "${ROOT}/@CMAKE_INSTALL_LIBDIR@"
|
|
prepend-path PYTHONPATH "${ROOT}/@CMAKE_INSTALL_PYTHONDIR@"
|
|
setenv @PROJECT_NAME_UNDERSCORED@_DIR "${ROOT}/@CMAKE_INSTALL_LIBDIR@/cmake/@PROJECT_NAME@"
|