From ec4127962d50e5c683ec0c7cadad39610738d23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20BRIOL?= Date: Mon, 25 Nov 2024 11:31:40 +0100 Subject: [PATCH] Add support for custom CMake arguments in setup.py --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 0edede7..b638830 100755 --- a/setup.py +++ b/setup.py @@ -187,6 +187,8 @@ def cmake_arguments(self, cfg: str, extdir: str) -> List[str]: '-DFES_BUILD_PYTHON_BINDINGS=ON', *self.set_cmake_user_options(), ] + if self.cmake_args: + cmake_args.extend(self.cmake_args.split()) return cmake_args def build_cmake(self, ext) -> None: