Skip to content

Conversation

Flamefire
Copy link
Contributor

BoostRoot uses CMAKE_MATCH_<n> which only exists since CMake 3.9

https://cmake.org/cmake/help/latest/command/if.html#matches

@pdimov

BoostRoot uses `CMAKE_MATCH_<n>` which only exists since CMake 3.9
@pdimov
Copy link
Member

pdimov commented Sep 11, 2025

I wonder how did that work before.

@Flamefire
Copy link
Contributor Author

No one used CMake < 3.9 for the super build I guess. Or it just skipped stuff or added everything as the variable was unset

@pdimov
Copy link
Member

pdimov commented Sep 11, 2025

@grisumbras reports that 3.8 works: boostorg/json#1110

@Flamefire
Copy link
Contributor Author

Can we merge #1082 to verify the used CMake version?

In this case: It is a documentation bug. That variables were supported since 2.6

@Flamefire Flamefire closed this Sep 11, 2025
@Flamefire Flamefire deleted the patch-2 branch September 11, 2025 11:40
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.

2 participants