From 14c0400f736007e568c5d498e9cac0ced468d1f0 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 24 Oct 2021 10:08:06 +0200 Subject: [PATCH] Fix case after #1781 --- nix/build-all.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nix/build-all.py b/nix/build-all.py index 2da7740f67..3f4f73bb8a 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -761,13 +761,13 @@ if "IfcOpenShell-Python" in targets: if os.path.exists(cache_path): os.remove(cache_path) - os.environ["python_library_BASENAME"] = os.path.basename(python_library) + os.environ["PYTHON_LIBRARY_BASENAME"] = os.path.basename(python_library) run_cmake("", cmake_args + [ - "-Dpython_library=" +python_library, - "-Dpython_executable=" +python_executable, - "-Dpython_include_DIR=" +python_include, + "-DPYTHON_LIBRARY=" +python_library, + "-DPYTHON_EXECUTABLE=" +python_executable, + "-DPYTHON_INCLUDE_DIR=" +python_include, "-DSWIG_EXECUTABLE=" f"{DEPS_DIR}/install/swig/bin/swig", "-DCMAKE_INSTALL_PREFIX=" f"{DEPS_DIR}/install/ifcopenshell/tmp", ], cmake_dir=CMAKE_DIR, cwd=python_dir)