summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bin/build-msvc.cmd2
-rw-r--r--cmake/opentrack-boilerplate.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-msvc.cmd b/bin/build-msvc.cmd
index 3b7e4ea0..4adad019 100644
--- a/bin/build-msvc.cmd
+++ b/bin/build-msvc.cmd
@@ -8,7 +8,7 @@ taskkill -f -im trackir.exe 2>%SystemDrive%\NUL
call:check cmake .
call:check ninja i18n
call:check "d:/cygwin64/bin/dash.exe" -c "git checkout -f -- ../*/lang/ ../*/*/lang/"
-call:check ninja -j4 install
+call:check ninja -j6 install
call:check "d:/cygwin64/bin/dash.exe" -c "git checkout -f -- ../*/lang/ ../*/*/lang/"
exit /b 0
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index bb596951..6d83e49a 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -245,7 +245,7 @@ function(otr_prop type)
endif()
# must pass some properties at least
list(LENGTH opts len)
- if(NOT "${len}" GREATER 1)
+ if(NOT "${len}" GREATER 0)
message(FATAL_ERROR "no properties given")
endif()