summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-04-18 18:58:57 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-04-18 19:09:47 +0200
commit48ce93e08fb48cafdd86f626c6a1d4a728942cc8 (patch)
tree079890ce51792b7259c8840819a4fc6e23afe65a
parent3c69bebc1c18444e9358c33f56c7cfefea4d1a8f (diff)
downloadlibgit2-48ce93e08fb48cafdd86f626c6a1d4a728942cc8.tar.gz
Fix inconsistent use of lower-case and upper-case names for macros
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 918e5b8f7..ebd55b9b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -335,7 +335,7 @@ ENDIF()
IF (THREADSAFE)
IF (NOT WIN32)
- find_package(Threads REQUIRED)
+ FIND_PACKAGE(Threads REQUIRED)
ENDIF()
ADD_DEFINITIONS(-DGIT_THREADS)
@@ -366,7 +366,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")
ENDIF()
# Compile and link libgit2
@@ -455,7 +455,7 @@ ENDIF ()
IF (TAGS)
FIND_PROGRAM(CTAGS ctags)
IF (NOT CTAGS)
- message(FATAL_ERROR "Could not find ctags command")
+ MESSAGE(FATAL_ERROR "Could not find ctags command")
ENDIF ()
FILE(GLOB_RECURSE SRC_ALL *.[ch])