Skip to content

Commit

Permalink
[XPTI][CMake] Make xptid depend on xpti-headers as well (intel#16102)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tcreech-intel authored Dec 10, 2024
1 parent 6f3b0e8 commit 2f63969
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xpti/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2f63969

Please sign in to comment.