Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMake] Don't update compile definitions for imported targets for MSCV #18766

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

makslevental
Copy link
Contributor

@makslevental makslevental commented Oct 13, 2024

If one uses -DIREE_BUILD_BUNDLED_LLVM=OFF then targets for some libraries become imported/INTERFACE and CMake doesn't let you update their target_compile_definitions. I.e., CMake errors out (not that it would work anyway). So just check and skip in that case.

@makslevental makslevental requested review from stellaraccident, ScottTodd and IanWood1 and removed request for benvanik October 13, 2024 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant