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

Better support for newer CMake's #803

Closed
wants to merge 1 commit into from
Closed

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Jul 9, 2018

This fixes the first half of #802 , and is what was recommended in #719: basically, if CMake version is less than 3.12, use the latest features. If cmake is equal or more to 3.12, just take the features from 3.11. (For each new CMake version, once it comes out and is tested, the one number that needs changing is the one in cmake_minimum_required, since this syntax is supported in 3.12+).

I've also moved the CMake version printout so that it does not print if this is not the main project (cleaner add as subdirectory).

@vitaut
Copy link
Contributor

vitaut commented Jul 11, 2018

Merged in 0eb01b8, thanks!

@vitaut vitaut closed this Jul 11, 2018
@vitaut
Copy link
Contributor

vitaut commented Jul 14, 2018

Unfortunately I had to revert this change because it was causing problem in MSVC (#809).

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