Skip to content

Commit 2f6610a

Browse files
committed
Normalize DXC_DIR path
1 parent 1c6cb1c commit 2f6610a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ foreach(platform ${platforms_to_test})
102102
set(TEST_${platform} False)
103103
endforeach()
104104

105+
# Because this path comes in from a user, we need to normalize it before
106+
# expanding it into lit.
107+
cmake_path(SET DXC_DIR NORMALIZE "${DXC_DIR}")
108+
105109
function(add_hlsltest_lit_suite suite)
106110
configure_lit_site_cfg(
107111
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in

0 commit comments

Comments
 (0)