From fdbd39ab9db95e6da4910baa8533115d2afe0ced Mon Sep 17 00:00:00 2001 From: Vincent Adam Date: Thu, 4 Jul 2024 13:26:03 +0200 Subject: [PATCH] moving cmake config out of pyproject --- build.py | 1 + pyproject.toml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 0a9f4bd..5874ac8 100644 --- a/build.py +++ b/build.py @@ -68,6 +68,7 @@ def build_cmake(self, ext): f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={str(ext_dir / ext.name / 'lib')}", f"-DCMAKE_RUNTIME_OUTPUT_DIRECTORY={str(ext_dir / ext.name / 'bin')}", f"-DCMAKE_VERBOSE_MAKEFILE:BOOL=on", + "-DCMAKE_CXX_STANDARD=14" ] os.chdir(str(build_temp)) diff --git a/pyproject.toml b/pyproject.toml index 5adc182..c43f868 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,4 +94,3 @@ line_length = 95 [build-system] requires = ["poetry>=0.12", "cmake", "setuptools"] #, "tensorflow>=2.8.0,<2.9.0", "cmake"] build-backend = "poetry.masonry.api" -# flags = ["-DCMAKE_CXX_STANDARD=14"] (removing because flags not a recognized property)