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

Minimum required cmake version? #303

Closed
Aikhjarto opened this issue Mar 10, 2017 · 5 comments
Closed

Minimum required cmake version? #303

Aikhjarto opened this issue Mar 10, 2017 · 5 comments

Comments

@Aikhjarto
Copy link
Contributor

CMakeLists.txt says cmake_minimum_required(VERSION 2.8)

ci/install-cmake.sh pulls cmake-3.1.3

I'm having trouble building with cmake 2.8 and wonder whats the real required minimum version of cmake for building encfs.

@benrubson
Copy link
Contributor

benrubson commented Mar 10, 2017

According to different closed issues (for example this one), you should use a newer cmake version, or try to install the gettext package.

@Aikhjarto
Copy link
Contributor Author

Ok, with 3.1 it works well.
So maybe in CMakeLists.txt the minimum required version should be raised.

@benrubson
Copy link
Contributor

benrubson commented Mar 11, 2017

I tried a bunch of versions on an old Debian 7.11 system.
cmake < 3.1.2 failed to locate OpenSSL by itself.
cmake < 3.2.0 failed to locate Intl.

#248 already stated 3.2 as the minimum version.

@benrubson benrubson mentioned this issue Mar 11, 2017
@benrubson
Copy link
Contributor

@Aikhjarto, you could close this issue, as #309 has just been merged.
Thank you 👍

@Aikhjarto
Copy link
Contributor Author

Thanks!

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

No branches or pull requests

2 participants