summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-word-size.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-word-size.cmake')
-rw-r--r--cmake/opentrack-word-size.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-word-size.cmake b/cmake/opentrack-word-size.cmake
index 622888d4..12c34066 100644
--- a/cmake/opentrack-word-size.cmake
+++ b/cmake/opentrack-word-size.cmake
@@ -4,7 +4,7 @@ if(NOT ((opentrack-word-size EQUAL 4) OR (opentrack-word-size EQUAL 8)))
message(FATAL_ERROR "word size '${opentrack-word-size}' either misdetected or really not 4 or 8")
endif()
set(opentrack-word-size ${opentrack-word-size})
-if(opentrack-word-size EQUAL 8)
+if(opentrack-word-size GREATER 4)
set(opentrack-64bit TRUE)
else()
set(opentrack-64bit FALSE)