From 018ea768af316ffbb4993ef0f703b97bfc4e44fa Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 7 Dec 2011 11:21:51 +0100 Subject: core: remove cmake warnings --- src/gui/gtk/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/gtk/CMakeLists.txt') diff --git a/src/gui/gtk/CMakeLists.txt b/src/gui/gtk/CMakeLists.txt index e6596205d..da542e329 100644 --- a/src/gui/gtk/CMakeLists.txt +++ b/src/gui/gtk/CMakeLists.txt @@ -18,6 +18,10 @@ # along with WeeChat. If not, see . # +if(COMMAND cmake_policy) + cmake_policy(SET CMP0003 NEW) +endif(COMMAND cmake_policy) + SET(WEECHAT_GTK_SRC gui-gtk.h gui-gtk-bar-window.c -- cgit v1.2.3