diff --git a/CMakeLists.txt b/CMakeLists.txt index e95068d..fe13500 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.0..3.14) +cmake_minimum_required(VERSION 3.5) project(nlopt-python) diff --git a/extensions.py b/extensions.py index 63ae616..feade1b 100644 --- a/extensions.py +++ b/extensions.py @@ -80,7 +80,7 @@ def build_extension(self, ext: Extension): ], cwd=build_dir) # Copy over the important bits - nlopt_py = build_dir / "extern" / "nlopt" / "src" / "swig" / "nlopt.py" + nlopt_py = build_dir / "extern" / "nlopt" / "src" / "swig" / "python" / "nlopt.py" logging.info(f"Ext Dir - {ext_dir}\n" + '\n'.join(f' - {file.as_posix()}' for file in ext_dir.rglob('*'))) for folder in [ext_dir, nlopt_py.parent]: diff --git a/extern/nlopt b/extern/nlopt index 11cff2c..7d04da1 160000 --- a/extern/nlopt +++ b/extern/nlopt @@ -1 +1 @@ -Subproject commit 11cff2c773b4b98821915a72179f4667c307ce6d +Subproject commit 7d04da19236148f9ae9d8dfa470a2264f5d2aa33