From f9601e6f32f85c564a989a01ffdc28bec2b0fda1 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 23 Mar 2016 20:37:39 +0100 Subject: [PATCH] CMakeLists: Show the pointer size for an unsupported architecture Showing the pointer size gives a hint as to why we think this is an unsupported architecture. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 144e34857..1b6a72550 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -581,7 +581,7 @@ IF (CMAKE_SIZEOF_VOID_P EQUAL 8) ELSEIF (CMAKE_SIZEOF_VOID_P EQUAL 4) ADD_DEFINITIONS(-DGIT_ARCH_32) ELSE() - MESSAGE(FATAL_ERROR "Unsupported architecture") + MESSAGE(FATAL_ERROR "Unsupported architecture (pointer size is ${CMAKE_SIZEOF_VOID_P} bytes)") ENDIF() # Compile and link libgit2