mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-24 13:57:16 +00:00
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.
This commit is contained in:
parent
ed476c236b
commit
6bcb098755
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user