From bfd324942f9a72d61979216c8f057433e8f8cca0 Mon Sep 17 00:00:00 2001 From: dfeneyrou Date: Tue, 17 Sep 2024 22:02:34 +0200 Subject: [PATCH] revert #40, as it does not work when using both C and C++ --- python/setup.py | 2 +- python/setup.py.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/setup.py b/python/setup.py index 3dde31d..ef20669 100644 --- a/python/setup.py +++ b/python/setup.py @@ -33,7 +33,7 @@ # Deduce some parameters extra_link_args = [] -extra_compilation_flags = ["-I", "palanteer/_cextension", "-std=c++11"] +extra_compilation_flags = ["-I", "palanteer/_cextension"] if isDevMode: if sys.platform == "win32": diff --git a/python/setup.py.in b/python/setup.py.in index a1659e2..8d80267 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -31,7 +31,7 @@ isDevMode = False # Enable to speed up development cycles. Shall be False for f # Deduce some parameters extra_link_args = [] -extra_compilation_flags = ["-I", os.path.normpath("${CMAKE_CURRENT_SOURCE_DIR}/../c++"), "-std=c++11"] +extra_compilation_flags = ["-I", os.path.normpath("${CMAKE_CURRENT_SOURCE_DIR}/../c++")] if isDevMode: if sys.platform == "win32":