summaryrefslogtreecommitdiff
path: root/src/gui/gtk/CMakeLists.txt
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-12-07 11:21:51 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-12-07 11:21:51 +0100
commit018ea768af316ffbb4993ef0f703b97bfc4e44fa (patch)
tree74d40dd13f48eb798f4bc79602c96707a49ae8e2 /src/gui/gtk/CMakeLists.txt
parentae997df61eb272a2904881f6bc96217e3f570eb2 (diff)
downloadweechat-018ea768af316ffbb4993ef0f703b97bfc4e44fa.zip
core: remove cmake warnings
Diffstat (limited to 'src/gui/gtk/CMakeLists.txt')
-rw-r--r--src/gui/gtk/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
#
+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