diff options
author | Robert Adam <dev@robert-adam.de> | 2020-07-02 08:53:00 +0300 |
---|---|---|
committer | Davide Beatrici <git@davidebeatrici.dev> | 2020-07-12 00:33:25 +0300 |
commit | 4010db10c2aebf845fa535633aeea10be220f6b5 (patch) | |
tree | 958da2abbd57ef904b5043a4bc3888de0603c351 /cmake/compiler.cmake | |
parent | 50305d91197063c894c52f46c165cfcabf91408a (diff) |
Error on unknown architecture
Diffstat (limited to 'cmake/compiler.cmake')
-rw-r--r-- | cmake/compiler.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/compiler.cmake b/cmake/compiler.cmake index 4a7acc82d..b6d7c9e9d 100644 --- a/cmake/compiler.cmake +++ b/cmake/compiler.cmake @@ -7,6 +7,8 @@ if(${CMAKE_SIZEOF_VOID_P} EQUAL 8) set(64_BIT TRUE) elseif(${CMAKE_SIZEOF_VOID_P} EQUAL 4) set(32_BIT TRUE) +else() + message(FATAL_ERROR "Unknown architecture - only 32bit and 64bit are supported") endif() if(MSVC) |