Commit 5dfd12cf1c9baa350e877291731f67889cf3e657

SSE4 2019-02-22T03:07:02

- fixing appveyor Signed-off-by: SSE4 <tomskside@gmail.com>

diff --git a/appveyor.yml b/appveyor.yml
index f7ee32f..66c00d1 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -5,17 +5,17 @@ environment:
 
     matrix:
         - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
-          CMAKE_GENERATOR: Visual Studio 12 2013
+          CMAKE_GENERATOR: "Visual Studio 12 2013"
         - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
-          CMAKE_GENERATOR: Visual Studio 12 2013 Win64
+          CMAKE_GENERATOR: "Visual Studio 12 2013 Win64"
         - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
-          CMAKE_GENERATOR: Visual Studio 14 2015
+          CMAKE_GENERATOR: "Visual Studio 14 2015"
         - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
-          CMAKE_GENERATOR: Visual Studio 14 2015 Win64
+          CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
         - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
-          CMAKE_GENERATOR: Visual Studio 15 2017
+          CMAKE_GENERATOR: "Visual Studio 15 2017"
         - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
-          CMAKE_GENERATOR: Visual Studio 15 2017 Win64
+          CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
 
 test_script:
     python build.py
diff --git a/build.py b/build.py
index 71877c9..57da36a 100644
--- a/build.py
+++ b/build.py
@@ -6,8 +6,8 @@ import os
 
 def main():
     generator = os.environ["CMAKE_GENERATOR"]
-    os.system("cmake -G %s" % generator)
-    os.system("cmake --build . --config Release")
+    os.system('cmake . -G "%s"' % generator)
+    os.system('cmake --build . --config Release')
 
 if __name__ == '__main__':
     main()