$OpenBSD: patch-volk_lib_CMakeLists_txt,v 1.3 2020/10/13 09:30:05 bentley Exp $
Index: volk/lib/CMakeLists.txt
--- volk/lib/CMakeLists.txt.orig
+++ volk/lib/CMakeLists.txt
@@ -296,15 +296,15 @@ endif()
 if(NOT CROSSCOMPILE_MULTILIB AND CPU_IS_x86)
     include(CheckTypeSize)
     check_type_size("void*[8]" SIZEOF_CPU BUILTIN_TYPES_ONLY)
-    if (${SIZEOF_CPU} EQUAL 64)
+    if ("${SIZEOF_CPU}" STREQUAL "64")
         OVERRULE_ARCH(32 "CPU width is 64 bits")
     endif()
-    if (${SIZEOF_CPU} EQUAL 32)
+    if ("${SIZEOF_CPU}" STREQUAL "32")
         OVERRULE_ARCH(64 "CPU width is 32 bits")
     endif()
 
     #MSVC 64 bit does not have MMX, overrule it
-    if (${SIZEOF_CPU} EQUAL 64 AND MSVC)
+    if ("${SIZEOF_CPU}" EQUAL "64" AND MSVC)
         OVERRULE_ARCH(mmx "No MMX for Win64")
 	if (MSVC_VERSION GREATER 1700)
             OVERRULE_ARCH(sse "No SSE for Win64 Visual Studio 2013")
