Merge pull request #3735 from blattms/backport-of-pr-3710

Backport of pr 3710
This commit is contained in:
Markus Blatt 2023-10-30 08:25:09 +01:00 committed by GitHub
commit 722c3592a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,10 @@ macro (OpmInitDirVars)
endif (COMMAND dir_hook)
endmacro ()
if("${CMAKE_SIZEOF_VOID_P}" LESS 8)
message(FATAL_ERROR "OPM will only work correctly on 64bit (or higher) systems!")
endif()
OpmInitProjVars ()
OpmInitDirVars ()