Skip to content

Commit 2f63969

Browse files
[XPTI][CMake] Make xptid depend on xpti-headers as well (#16102)
When building xpti we arrange to copy xpti headers into the build directory. On Windows we may instead be building the debug version, xptid, so copy the headers in that case too.
1 parent 6f3b0e8 commit 2f63969

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

xpti/CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ if (LLVM_BINARY_DIR)
9191
COMMENT "Copying XPTI headers ..."
9292
)
9393
add_dependencies(xpti xpti-headers)
94+
if (MSVC)
95+
add_dependencies(xptid xpti-headers)
96+
endif()
9497
endif()
9598

9699
include(GNUInstallDirs)

0 commit comments

Comments
 (0)