From 17963880de0e953caac62c7dafc59cfeb06d9f0d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 17 May 2008 11:50:23 +0000 Subject: cmake 2.6 support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@374 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/notifier/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/General/notifier') diff --git a/src/plugins/General/notifier/CMakeLists.txt b/src/plugins/General/notifier/CMakeLists.txt index 76400d1e9..cc6fd0796 100644 --- a/src/plugins/General/notifier/CMakeLists.txt +++ b/src/plugins/General/notifier/CMakeLists.txt @@ -2,6 +2,11 @@ project(libnotifier) cmake_minimum_required(VERSION 2.4.0) +if(COMMAND cmake_policy) +cmake_policy(SET CMP0003 NEW) +endif(COMMAND cmake_policy) + + # qt plugin ADD_DEFINITIONS( -Wall ) ADD_DEFINITIONS(${QT_DEFINITIONS}) -- cgit v1.2.3-13-gbd6f