summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-03-23 13:14:04 -0700
committerEdward Thomson <ethomson@github.com>2016-03-23 13:14:04 -0700
commit63f7b7f929e178a11954fe9b58eb8fce5c3c5b8b (patch)
tree49e75d538fb8e80ba74e16c745b03e36fb94c130
parent1a2d8bd3c2b0f20e69b295c638b0e0c44c216756 (diff)
parentf9601e6f32f85c564a989a01ffdc28bec2b0fda1 (diff)
downloadlibgit2-63f7b7f929e178a11954fe9b58eb8fce5c3c5b8b.tar.gz
Merge pull request #3707 from sschuberth/master
CMakeLists: Show the pointer size for an unsupported architecture
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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