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
This commit is contained in:
Ranjith Ramakrishnan
2022-07-07 00:02:59 -07:00
parent 8144dd4d8e
commit c5159fa6d1
+1 -3
View File
@@ -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)