nlopt: Only support release>=2.5.0, since earlier release tarballs were actually AutoTools, not CMake. (#9110)

This commit is contained in:
Neil Flood 2018-09-04 11:56:48 +10:00 committed by Adam J. Stewart
parent ad8fbe3c7f
commit ee14d273e5

View File

@ -32,11 +32,11 @@ class Nlopt(CMakePackage):
other algorithms."""
homepage = "https://nlopt.readthedocs.io"
url = "https://github.com/stevengj/nlopt/releases/download/nlopt-2.4.2/nlopt-2.4.2.tar.gz"
url = "https://github.com/stevengj/nlopt/archive/v2.5.0.tar.gz"
git = "https://github.com/stevengj/nlopt.git"
version('develop', branch='master')
version('2.4.2', 'd0b8f139a4acf29b76dbae69ade8ac54')
version('2.5.0', 'ada08c648bf9b52faf8729412ff6dd6d')
variant('shared', default=True, description='Enables the build of shared libraries')
variant('python', default=True, description='Build python wrappers')