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
Update CMake minimum required version to 3.0.2 (closes #2621) #2622
Conversation
We might want to change the docs as well (https://github.com/STEllAR-GROUP/hpx/blob/master/docs/manual/build_system/prerequisites.qbk#L63 and https://github.com/STEllAR-GROUP/hpx/blob/master/docs/manual/build_system/prerequisites.qbk#L92). |
Updated the documentation. |
CMakeLists.txt
Outdated
# We require at least CMake V2.8.12 | ||
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) | ||
# We require at least CMake V3.0.2 | ||
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) | ||
|
||
# explicitly set certain policies | ||
cmake_policy(VERSION 2.8.12) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be changed to 3.0.2 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, will do that now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not saying this has to be changed. I'm asking whether this is necessary... To answer this you'd need to understand what the cmake_policy(<version>)
macro actually does.
From what I could read from the docs, using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
This fixes #2621