Specify the source directory explicitly
This commit is contained in:
@@ -136,7 +136,7 @@ def build_libraries():
|
|||||||
os.mkdir(BUILD_DIR)
|
os.mkdir(BUILD_DIR)
|
||||||
conf = 'Debug' if os.getenv('DEBUG', '') else 'Release'
|
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", ""):
|
if os.getenv("TRACE", ""):
|
||||||
cmake_args += ["-DUNICORN_TRACER=on"]
|
cmake_args += ["-DUNICORN_TRACER=on"]
|
||||||
subprocess.check_call(cmake_args)
|
subprocess.check_call(cmake_args)
|
||||||
|
|||||||
Reference in New Issue
Block a user