weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #37311] Cmake warning about "Policy CMP0003"


From: Simon
Subject: [Weechat-dev] [bug #37311] Cmake warning about "Policy CMP0003"
Date: Mon, 10 Sep 2012 09:00:26 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1

URL:
  <http://savannah.nongnu.org/bugs/?37311>

                 Summary: Cmake warning about "Policy CMP0003"
                 Project: WeeChat
            Submitted by: foobar23
            Submitted on: Mon 10 Sep 2012 09:00:25 AM GMT
                Category: compilation
                Severity: 3 - Normal
              Item Group: compile/install
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.8
                IRC nick: 

    _______________________________________________________

Details:

When trying to build weechat 0.3.8 on OpenBSD/sparc64 with cmake-2.8.9 I get
the following warning. Not sure if this is really a bug, or if I'm missing
something on my side:

-- Configuring done
CMake Warning (dev) at src/plugins/irc/CMakeLists.txt:20 (ADD_LIBRARY):
  Policy CMP0003 should be set before this line.  Add code such as

    if(COMMAND cmake_policy)
      cmake_policy(SET CMP0003 NEW)
    endif(COMMAND cmake_policy)

  as early as possible but after the most recent call to
  cmake_minimum_required or cmake_policy(VERSION).  This warning appears
  because target "irc" links to some libraries for which the linker must
  search:

    gcrypt

  and other libraries with known full path:

    /usr/local/lib/libgnutls.so.39.0

  CMake is adding directories in the second list to the linker search path in
  case they are needed to find libraries from the first list (for backwards
  compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
  or disable this behavior explicitly.  Run "cmake --help-policy CMP0003" for
  more information.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to:
/usr/ports/pobj/weechat-0.3.8/build-sparc64




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37311>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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