Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-05-08 08:35:56 +0400
committerJeff King <peff@peff.net>2014-05-08 23:48:49 +0400
commit6bcb0987558390bb8bf0a654f90f47a5ec7c31ee (patch)
tree159dd3269905b0672b6d67e9d50e652dd4d92e3c /CMakeLists.txt
parented476c236b8328c31acb150ee69eaf00c821b9e3 (diff)
cmake: s/ICONV/Iconv/ in FIND_PACKAGE
The cmake module we provide is in the file FindIconv.cmake, so we must match the case correctly. It happens to work in practice because we only turn on ICONV on Darwin, and people generally have case-insensitive filesystems there. Note that we only need to update the package name here. The package itself still sets the all-uppercase ICONV_FOUND flag, so we continue to use uppercase in the rest of cmake.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 884c9bcf1..6f731d491 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -207,7 +207,7 @@ ENDIF()
# Optional external dependency: iconv
IF (USE_ICONV)
- FIND_PACKAGE(ICONV)
+ FIND_PACKAGE(Iconv)
ENDIF()
IF (ICONV_FOUND)
ADD_DEFINITIONS(-DGIT_USE_ICONV)