diff --git a/goamdsmi_shim/CMakeLists.txt b/goamdsmi_shim/CMakeLists.txt index dceee4e29e..5f8c7f11e0 100644 --- a/goamdsmi_shim/CMakeLists.txt +++ b/goamdsmi_shim/CMakeLists.txt @@ -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)