diff --git a/pyproject.toml b/pyproject.toml index 3302bec..0b293b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -198,5 +198,6 @@ test-command = "pytest -s -vv --import-mode importlib {project}/tests/fast_pauli [tool.cibuildwheel.macos] before-build = "brew install llvm" -build-frontend = { name = "pip", args = ['-C', "cmake.args=-DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++;-DCMAKE_CXX_FLAGS=-stdlib=libc++", "-fexperimental-library"] } +environment = "CXX=$(brew --prefix llvm)/bin/clang++" +build-frontend = { name = "pip", args = ['-C', "cmake.args=-DCMAKE_CXX_FLAGS='-stdlib=libc++ -fexperimental-library'"] } # -C cmake.args="-DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++;-DCMAKE_CXX_FLAGS='-stdlib=libc++ -fexperimental-library'"