Add a separate install phase
@@ -2,5 +2,8 @@ mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ..
if errorlevel 1 exit 1
-cmake --build . --config Release --target install
+cmake --build . --config Release
+if errorlevel 1 exit 1
+echo "Build finished"
+cmake --config Release --target install
if errorlevel 1 exit 1
