tweak windows build
@@ -6,16 +6,15 @@ cd build
cmake -G "NMake Makefiles" ^
-DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^
+ -DCMAKE_BUILD_TYPE=Release ^
-DDEBUG=OFF ^
-DOPENMP=set ^
-DBUILD_SHARED_LIBS=ON ^
..
if errorlevel 1 exit 1
-:: Build!
-nmake
+cmake --build . --config Release
if errorlevel 1 exit 1
-:: Install!
-nmake install
+cmake --install .
if errorlevel 1 exit 1
