mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user