Skip to content

Commit a1fc7f7

Browse files
committed
[XPTI][CMake] Make xptid depend on xpti-headers as well
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 01f7e44 commit a1fc7f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

xpti/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
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)