Build shared library on Windows
@@ -8,7 +8,9 @@ cmake -G "NMake Makefiles" ^
-DCMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_BUILD_TYPE:STRING=Release ^
-DCMAKE_LIBRARY_PATH:PATH="%LIBRARY_PREFIX%;%LIBRARY_PREFIX%/bin" ^
+ -DBUILD_SHARED_LIBS:BOOL=ON ^
..
+
if errorlevel 1 exit 1
nmake
