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

core: move the set of cmake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311)

This commit is contained in:
Sebastien Helleu
2012-09-17 13:15:05 +02:00
parent 291fa04c7e
commit bfaed2bec6
4 changed files with 5 additions and 8 deletions
+3
View File
@@ -20,6 +20,9 @@
#
if(COMMAND cmake_policy)
if(POLICY CMP0003)
cmake_policy(SET CMP0003 NEW)
endif(POLICY CMP0003)
if(POLICY CMP0017)
cmake_policy(SET CMP0017 NEW)
endif(POLICY CMP0017)
-4
View File
@@ -19,10 +19,6 @@
# 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_CURSES_SRC
gui-curses.h
gui-curses-bar-window.c
-4
View File
@@ -18,10 +18,6 @@
# 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