1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

core: remove cmake warnings

This commit is contained in:
Sebastien Helleu
2011-12-07 11:21:51 +01:00
parent ae997df61e
commit 018ea768af
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -19,6 +19,12 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
if(COMMAND cmake_policy)
if(POLICY CMP0017)
cmake_policy(SET CMP0017 NEW)
endif(POLICY CMP0017)
endif(COMMAND cmake_policy)
ADD_DEFINITIONS(-DHAVE_CONFIG_H)
INCLUDE(CheckIncludeFiles)
+4
View File
@@ -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