Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2020-07-02 08:53:00 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2020-07-12 00:33:25 +0300
commit4010db10c2aebf845fa535633aeea10be220f6b5 (patch)
tree958da2abbd57ef904b5043a4bc3888de0603c351 /cmake
parent50305d91197063c894c52f46c165cfcabf91408a (diff)
Error on unknown architecture
Diffstat (limited to 'cmake')
-rw-r--r--cmake/compiler.cmake2
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)