diff options
author | Sascha Cunz <sascha.cunz@gmail.com> | 2014-01-30 03:01:46 +0000 |
---|---|---|
committer | Sascha Cunz <sascha.cunz@gmail.com> | 2014-01-30 03:01:46 +0000 |
commit | 4bc94eb5f049d1d0fd23128b05bb0d65ffac84d9 (patch) | |
tree | 95e9315f2e8fa5c45da1a3ea7802949924975007 /cmake | |
parent | 6e0ff093fb955adeeeed5c83a0fafc568d4b8074 (diff) | |
download | libgit2-4bc94eb5f049d1d0fd23128b05bb0d65ffac84d9.tar.gz |
We never search for libiconv via pkg-config
So we actually also never know that we can set a dependency on it in
pkg-config. Instead always give it the -L and -l options.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/FindIconv.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindIconv.cmake b/cmake/Modules/FindIconv.cmake index f1406c557..c5a419011 100644 --- a/cmake/Modules/FindIconv.cmake +++ b/cmake/Modules/FindIconv.cmake @@ -26,7 +26,7 @@ IF(ICONV_FOUND) GET_FILENAME_COMPONENT(iconv_path ${iconv_lib} PATH) GET_FILENAME_COMPONENT(iconv_name ${iconv_lib} NAME_WE) STRING(REGEX REPLACE "^lib" "" iconv_name ${iconv_name}) - SET(ICONV_LIBRARIES -L${iconv_path} -l${iconv_name}) + SET(ICONV_LIBRARIES "-L${iconv_path} -l${iconv_name}") IF(NOT ICONV_FIND_QUIETLY) MESSAGE(STATUS "Found Iconv: ${ICONV_LIBRARIES}") |