URL:
<http://savannah.nongnu.org/patch/?7069>
Summary: Missing includes in cmake/FindIconv.cmake
Project: WeeChat
Submitted by: bazerka
Submitted on: Wed 20 Jan 2010 05:49:55 PM GMT
Category: compilation
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
IRC nick: Bazerka
_______________________________________________________
Details:
cmake/FindIconv.cmake requires both CheckLibraryExists and
CheckFunctionExists modules to be included due to the use of
CHECK_LIBRARY_EXISTS and CHECK_FUNCTION_EXISTS functions.
Normally, these functions are available either by being included via
cmake/FindGettext.cmake, or if DISABLE_NLS == no, via po/CMakeLists.txt (which
brings in src/CMakeLists.txt, where the functions are also included.).
However, if DISABLE_NLS is set to Yes, then the functions are not included and
the following error is produced :
CMake Error at cmake/FindIconv.cmake:46 (CHECK_LIBRARY_EXISTS):
Unknown CMake command "CHECK_LIBRARY_EXISTS".
Call Stack (most recent call first):
src/CMakeLists.txt:92 (FIND_PACKAGE)
As cmake/FindIconv.cmake uses both CHECK_LIBRARY_EXISTS and
CHECK_FUNCTION_EXISTS functions, adding the includes to cmake/FindIconv.cmake
resolves the issue.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 20 Jan 2010 05:49:55 PM GMT Name: patch-cmake-FindIconv_cmake
Size: 368B By: bazerka
<http://savannah.nongnu.org/patch/download.php?file_id=19519>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7069>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev