Skip to content

Commit

Permalink
HIP RTC CMake: Fix dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr committed Jan 15, 2025
1 parent 510508b commit 5899144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GPU/GPUTracking/Base/hip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ if(NOT ALIGPU_BUILD_TYPE STREQUAL "ALIROOT")
COMMAND ${CMAKE_CXX_COMPILER} ${GPU_RTC_DEFINES} ${GPU_RTC_INCLUDES} -std=c++${CMAKE_HIP_STANDARD} -D__HIPCC__ -D__HIP_DEVICE_COMPILE__ -x c++ -nostdinc -E ${GPU_RTC_SRC} >> ${GPU_RTC_BIN}.src
MAIN_DEPENDENCY ${GPU_RTC_SRC}
IMPLICIT_DEPENDS CXX ${GPU_RTC_SRC}
DEPENDS ${MODULE}_HIPIFIED
COMMAND_EXPAND_LISTS
COMMENT "Preparing HIP RTC source file ${GPU_RTC_BIN}.src"
)
Expand Down

0 comments on commit 5899144

Please sign in to comment.