Commit 48ce93e0 by Jacques Germishuys

Fix inconsistent use of lower-case and upper-case names for macros

parent 3c69bebc
...@@ -335,7 +335,7 @@ ENDIF() ...@@ -335,7 +335,7 @@ ENDIF()
IF (THREADSAFE) IF (THREADSAFE)
IF (NOT WIN32) IF (NOT WIN32)
find_package(Threads REQUIRED) FIND_PACKAGE(Threads REQUIRED)
ENDIF() ENDIF()
ADD_DEFINITIONS(-DGIT_THREADS) ADD_DEFINITIONS(-DGIT_THREADS)
...@@ -366,7 +366,7 @@ IF (CMAKE_SIZEOF_VOID_P EQUAL 8) ...@@ -366,7 +366,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")
ENDIF() ENDIF()
# Compile and link libgit2 # Compile and link libgit2
...@@ -455,7 +455,7 @@ ENDIF () ...@@ -455,7 +455,7 @@ ENDIF ()
IF (TAGS) IF (TAGS)
FIND_PROGRAM(CTAGS ctags) FIND_PROGRAM(CTAGS ctags)
IF (NOT CTAGS) IF (NOT CTAGS)
message(FATAL_ERROR "Could not find ctags command") MESSAGE(FATAL_ERROR "Could not find ctags command")
ENDIF () ENDIF ()
FILE(GLOB_RECURSE SRC_ALL *.[ch]) FILE(GLOB_RECURSE SRC_ALL *.[ch])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment