Commit 930e69ed5b731e39b0a5b657771d9eedddce68c1

SSE4 2019-02-22T03:26:50

- properly define CMAKE_MAKE_PROGRAM Signed-off-by: SSE4 <tomskside@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/build.py b/build.py
index 1d0ce46..4d31d84 100644
--- a/build.py
+++ b/build.py
@@ -24,7 +24,7 @@ def main():
     generator = os.environ["CMAKE_GENERATOR"]
     command = 'cmake . -G "%s"' % generator
     if "CMAKE_MAKE_PROGRAM" in os.environ:
-        command += " -D%s" % os.environ["CMAKE_MAKE_PROGRAM"]
+        command += ' -DCMAKE_MAKE_PROGRAM="%s"' % os.environ["CMAKE_MAKE_PROGRAM"]
     run(command)
     run('cmake --build . --config Release')