| commit | c44c5b07bec2539b6c346fcdec1f02223193f7c0 | [log] [tgz] |
|---|---|---|
| author | Matthew Woehlke <matthew.woehlke@kitware.com> | Wed Dec 18 11:09:41 2024 -0500 |
| committer | Brad King <brad.king@kitware.com> | Thu Jan 09 10:22:52 2025 -0500 |
| tree | 23a6fad5d083c00a7e4f0f32e6d559c5f520f291 | |
| parent | abb3d39bbc39369ecace0bf8f1b400eee20cb055 [diff] |
cmPackageInfoReader: Fix handling of "definitions" Rewrite cmPackageInfoReader's parsing of the "definitions" attribute. The old logic (having been originally adapted from proof-of-concept parsing code circa 2023) was parsing the attribute according to its specification as of CPS 0.11, but the representation was changed in CPS 0.12. Add a test to verify that definitions are being imported correctly. Remove unnecessary setting and resetting of CMAKE_PREFIX_PATH in the test.