diff --git a/xpti/CMakeLists.txt b/xpti/CMakeLists.txt index 2f33b74d285a4..6433e39c94c70 100644 --- a/xpti/CMakeLists.txt +++ b/xpti/CMakeLists.txt @@ -91,6 +91,9 @@ if (LLVM_BINARY_DIR) COMMENT "Copying XPTI headers ..." ) add_dependencies(xpti xpti-headers) + if (MSVC) + add_dependencies(xptid xpti-headers) + endif() endif() include(GNUInstallDirs)