Remove the default setting of cmake install libdir from source code
Any default value if required should be controlled from outside.
For ROCM, build script is setting the value to "lib"
Change-Id: I12a2951307fe64e46a4e608476bfceb678bdc97d
[ROCm/amdsmi commit: c5159fa6d1]
This commit is contained in:
@@ -52,10 +52,8 @@ set(ROCM_SMI_PACKAGE rocm-smi-lib)
|
||||
|
||||
project(${AMD_SMI_LIBS_TARGET})
|
||||
|
||||
set(COMMON_PROJ_ROOT ${PROJECT_SOURCE_DIR})
|
||||
# Set default libdir to be "lib" for ROCm, distros/users can override this
|
||||
set(CMAKE_INSTALL_LIBDIR "lib" CACHE STRING "Library install directory")
|
||||
include(GNUInstallDirs)
|
||||
set(COMMON_PROJ_ROOT ${PROJECT_SOURCE_DIR})
|
||||
|
||||
## Verbose output.
|
||||
set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
Reference in New Issue
Block a user