Setting LIBDIR to lib in rocm-smi-lib across all platform (#34805)

This commit is contained in:
renjithravindrankannath 2023-01-26 00:38:35 -08:00 committed by GitHub
parent 95a76de7d5
commit 8d0cbb9812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,11 @@ class RocmSmiLib(CMakePackage):
patch("disable_pdf_generation_with_doxygen_and_latex.patch", when="@4.5.2:")
def cmake_args(self):
return [self.define_from_variant("BUILD_SHARED_LIBS", "shared")]
args = [
self.define_from_variant("BUILD_SHARED_LIBS", "shared"),
self.define("CMAKE_INSTALL_LIBDIR", self.prefix.lib),
]
return args
@classmethod
def determine_version(cls, lib):