diff --git a/appveyor.yml b/appveyor.yml
index 4c2f9b960f4a10b6a97d3be31069a8427c933d25..dfe85e0a901105f88b53b5129231cca7bd502a01 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -17,13 +17,13 @@ install:
     - set PATH=%PATH%;%QT_DIR%\bin;C:\MinGW\bin
 
 build_script:
-    - cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
-    - cmake --build build
+    - cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild
+    - cmake --build build --config Release
     - ls -lh build
 
 after_build:
     - mkdir NhekoRelease
-    - copy build\Debug\nheko.exe NhekoRelease\nheko.exe
+    - copy build\Release\nheko.exe NhekoRelease\nheko.exe
     - windeployqt --release NhekoRelease\nheko.exe
     - 7z a nheko_win_64.zip .\NhekoRelease\*