[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)


                 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



cmake/FindIconv.cmake requires both CheckLibraryExists and
CheckFunctionExists modules to be included due to the use of

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



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]