From c5159fa6d15ece2657743844d1efcce27c563c42 Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Thu, 7 Jul 2022 00:02:59 -0700 Subject: [PATCH] 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 --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9ed159b6b..3b778e174f 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)