summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 1 insertions, 1 deletions
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()