Skip to content

Commit ff8c69f

Browse files
author
Terry Cojean
committed
Use CMake property LOCATION for the HIP fallback.
1 parent 83cbb05 commit ff8c69f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hip/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ if(GINKGO_HIP_PLATFORM MATCHES "${HIP_PLATFORM_AMD_REGEX}")
269269
endif()
270270
if (NOT HIP_LIBAMDHIP64_LIBRARIES)
271271
# Fall back to anything
272-
get_target_property(HIP_LIBAMDHIP64_LIBRARIES hip::amdhip64 IMPORTED_LOCATION)
272+
get_target_property(HIP_LIBAMDHIP64_LIBRARIES hip::amdhip64 LOCATION)
273273
endif()
274274
target_link_libraries(ginkgo_hip PUBLIC ${HIP_LIBAMDHIP64_LIBRARIES})
275275
elseif(GINKGO_HIP_PLATFORM MATCHES "${HIP_PLATFORM_NVIDIA_REGEX}")

0 commit comments

Comments
 (0)