Skip to content

Commit 98f5c33

Browse files
authored
[CMake] Fix generation of lit subdirectory targets (#239)
This fixes generation of the sub-directory targets for the generated nested lit executions.
1 parent 3a79000 commit 98f5c33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ function(add_offloadtest_lit_suite suite)
129129

130130
add_lit_testsuites(hlsl-${suite} ${CMAKE_CURRENT_SOURCE_DIR}
131131
DEPENDS ${OFFLOADTEST_DEPS}
132+
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${suite}/
132133
FOLDER "HLSL tests/Suites/${suite}"
133134
)
134135
endfunction()

0 commit comments

Comments
 (0)