Skip to content

Commit 9379ca8

Browse files
committed
HIP RTC CMake: Fix dependency
1 parent 510508b commit 9379ca8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GPU/GPUTracking/Base/hip/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ if(NOT ALIGPU_BUILD_TYPE STREQUAL "ALIROOT")
109109
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
110110
MAIN_DEPENDENCY ${GPU_RTC_SRC}
111111
IMPLICIT_DEPENDS CXX ${GPU_RTC_SRC}
112+
DEPENDS ${MODULE}_HIPIFIED
112113
COMMAND_EXPAND_LISTS
113114
COMMENT "Preparing HIP RTC source file ${GPU_RTC_BIN}.src"
114115
)

0 commit comments

Comments
 (0)