Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions amd/device-libs/cmake/Packages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ configure_file(AMDDeviceLibsConfig.cmake.in
${PACKAGE_PREFIX}/AMDDeviceLibsConfig.cmake
@ONLY)


set(install_path_suffix "amdgcn/bitcode")

# Generate the install-tree package.
# We do not know the absolute path to the intall tree until we are installed,
# so we calculate it dynamically in AMD_DEVICE_LIBS_PREFIX_CODE and use
Expand All @@ -38,7 +35,7 @@ foreach(target ${AMDGCN_LIB_LIST})
set(AMD_DEVICE_LIBS_TARGET_CODE "${AMD_DEVICE_LIBS_TARGET_CODE}
add_library(${target} STATIC IMPORTED)
set_target_properties(${target} PROPERTIES
IMPORTED_LOCATION \"\${AMD_DEVICE_LIBS_PREFIX}/${install_path_suffix}/${target_prefix}${target_name}${target_suffix}\")")
IMPORTED_LOCATION \"\${AMD_DEVICE_LIBS_PREFIX}/${INSTALL_ROOT_SUFFIX}/${target_prefix}${target_name}${target_suffix}\")")
endforeach()
configure_file(AMDDeviceLibsConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/AMDDeviceLibsConfig.cmake.install
Expand Down