patchWeeChat - Patches: patch #7069, Missing includes in...

 
 

patch #7069: Missing includes in cmake/FindIconv.cmake

Submitter:  bazerka <bazerka>
Submitted:  Wed 20 Jan 2010 05:49:55 PM UTC
   
 
Category:  compilation Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  flashcode Open/Closed:  Closed
IRC nick:  Bazerka
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Jan 2010 05:49:55 PM UTC, original submission:  

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.

bazerka <bazerka>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #19519:  patch-cmake-FindIconv_cmake added by bazerka (368B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by bazerka (Submitted the item)
  • -email is unavailable- added by bazerka
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-02 flashcode Open/ClosedOpen Closed
    2010-01-28 flashcode StatusNone Done
        Assigned toNone flashcode
    2010-01-20 bazerka Attached File- Added patch-cmake-FindIconv_cmake, #19519
        Carbon-Copy- Added bazerka

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code