[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [patch #7069] Missing includes in cmake/FindIconv.cmake
From: |
bazerka |
Subject: |
[Weechat-dev] [patch #7069] Missing includes in cmake/FindIconv.cmake |
Date: |
Wed, 20 Jan 2010 17:49:56 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) |
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] [patch #7069] Missing includes in cmake/FindIconv.cmake,
bazerka <=