Skip to content

Commit 39f1dc1

Browse files
authored
Update CMake variable so that dxcapi.use.cpp is detected regardless of root dir (microsoft#7709)
Fixes microsoft#7708
1 parent 0c9e75e commit 39f1dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/clang/tools/dxopt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set( LLVM_LINK_COMPONENTS
88
Support # just for assert and raw streams
99
)
1010

11-
set(DXCSUPPORT_DIR "${CMAKE_SOURCE_DIR}/lib/DxcSupport")
11+
set(DXCSUPPORT_DIR "${LLVM_SOURCE_DIR}/lib/DxcSupport")
1212

1313
add_clang_executable(dxopt
1414
dxopt.cpp

0 commit comments

Comments
 (0)