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

Update CMake minimum required version to 3.0.2 (closes #2621) #2622

Merged
merged 5 commits into from May 14, 2017

Conversation

diehlpk
Copy link
Member

@diehlpk diehlpk commented May 11, 2017

This fixes #2621

@diehlpk
Copy link
Member Author

diehlpk commented May 11, 2017

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)
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member

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.

@hkaiser
Copy link
Member

hkaiser commented May 12, 2017

From what I could read from the docs, using cmake_policy(VERSION 3.0.2) in our code should be fine.

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@hkaiser hkaiser merged commit e325d27 into STEllAR-GROUP:master May 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiling hpx master fails with /usr/bin/ld: final link failed: Bad value
2 participants