Skip to content

fix: set CMP0207 for runtime dependency scan#13

Open
iccccccccccccc wants to merge 1 commit into
Kitware:mainfrom
iccccccccccccc:fix-cmp0207-runtime-deps
Open

fix: set CMP0207 for runtime dependency scan#13
iccccccccccccc wants to merge 1 commit into
Kitware:mainfrom
iccccccccccccc:fix-cmp0207-runtime-deps

Conversation

@iccccccccccccc
Copy link
Copy Markdown

Fixes #11

Changes

  • Set CMP0207 to NEW before calling file(GET_RUNTIME_DEPENDENCIES) when the policy exists.
  • Add a regression test that checks the policy guard is emitted before the runtime dependency scan.

Verification

  • python -m pytest tests/test_install_deps_policy.py -q
  • python -m pytest --collect-only -q

Note: full python -m pytest did not finish within 120 seconds in this local environment because the broader suite creates virtualenvs and builds/downloads VTK-related wheels.

@iccccccccccccc iccccccccccccc force-pushed the fix-cmp0207-runtime-deps branch from 3ee9b89 to 4e984ec Compare May 24, 2026 00:11
@iccccccccccccc iccccccccccccc force-pushed the fix-cmp0207-runtime-deps branch from 4e984ec to 2dcb8c7 Compare May 24, 2026 00:26
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.

Fix CMP207 when installing runtime dependencies

1 participant