goamdsmi: Use CMAKE_INSTALL_LIBDIR

Match libamd_smi and don't hardcode to "lib", so distros can customize
the library location.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I0d2ff761975529fc06776c75cefea6907ec1ee8f
Cette révision appartient à :
Jeremy Newton
2024-10-10 14:51:32 -04:00
Parent 27a48e69d8
révision dd8795b099
+1 -1
Voir le fichier
@@ -120,7 +120,7 @@ set(go_amd_smi_install_headers
## Add the install directives for the runtime library.
install(TARGETS ${GOAMDSMI_SHIM_TARGET}
LIBRARY DESTINATION lib COMPONENT ${GOAMDSMI_SHIM_COMPONENT})
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT ${GOAMDSMI_SHIM_COMPONENT})
install(FILES ${go_amd_smi_install_headers}
DESTINATION include)