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/
_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev