From d6d1af243fd16713206d1dd2d04356c952a32e5c Mon Sep 17 00:00:00 2001 From: mio Date: Wed, 28 Jun 2023 16:40:17 +0800 Subject: [PATCH] Specify the source directory explicitly --- bindings/python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/setup.py b/bindings/python/setup.py index b8cfbdfa..48b83b21 100755 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -136,7 +136,7 @@ def build_libraries(): os.mkdir(BUILD_DIR) conf = 'Debug' if os.getenv('DEBUG', '') else 'Release' - cmake_args = ["cmake", '-B', BUILD_DIR, "-DCMAKE_BUILD_TYPE=" + conf] + cmake_args = ["cmake", '-B', BUILD_DIR, '-S', UC_DIR, "-DCMAKE_BUILD_TYPE=" + conf] if os.getenv("TRACE", ""): cmake_args += ["-DUNICORN_TRACER=on"] subprocess.check_call(cmake_args)