-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmake] Fix architecture dependent option selection
Set boolean variables based on the `OUTPUT_VARIABLE` and the detected architecture name and use them for architecture dependent option availability testing. Earlier CMake versions (< 3.22) evaluate the `<depends>` parameter of `cmake_dependent_option()` in a way which prevents `STREQUAL` based conditions to be meaningfully evaluated. See [CMP0127] for details. [CMP0127]: https://cmake.org/cmake/help/v3.23/policy/CMP0127.html
- Loading branch information
1 parent
bce78a9
commit 3eab8e6
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters