Use LESS comparison to test if system is at least 64bit.
Indeed this is clearer and better.
This commit is contained in:
parent
5ecc7caa23
commit
223e8c6877
@ -110,8 +110,8 @@ macro (OpmInitDirVars)
|
||||
endif (COMMAND dir_hook)
|
||||
endmacro ()
|
||||
|
||||
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "4")
|
||||
message(FATAL_ERROR "OPM will only work correctly on 64bit systems!")
|
||||
if("${CMAKE_SIZEOF_VOID_P}" LESS 8)
|
||||
message(FATAL_ERROR "OPM will only work correctly on 64bit (or higher) systems!")
|
||||
endif()
|
||||
|
||||
OpmInitProjVars ()
|
||||
|
Loading…
Reference in New Issue
Block a user