mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-22 15:18:07 +00:00
Merge pull request #3707 from sschuberth/master
CMakeLists: Show the pointer size for an unsupported architecture
This commit is contained in:
commit
63f7b7f929
@ -581,7 +581,7 @@ IF (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|||||||
ELSEIF (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
ELSEIF (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||||
ADD_DEFINITIONS(-DGIT_ARCH_32)
|
ADD_DEFINITIONS(-DGIT_ARCH_32)
|
||||||
ELSE()
|
ELSE()
|
||||||
MESSAGE(FATAL_ERROR "Unsupported architecture")
|
MESSAGE(FATAL_ERROR "Unsupported architecture (pointer size is ${CMAKE_SIZEOF_VOID_P} bytes)")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# Compile and link libgit2
|
# Compile and link libgit2
|
||||||
|
Loading…
Reference in New Issue
Block a user