From dcbe8717f2cd3774d58df0fda5b5ce46de426309 Mon Sep 17 00:00:00 2001 From: jlh Date: Fri, 16 Oct 2009 17:44:21 +0200 Subject: [PATCH] CMakeLists.txt: Silence warning about policy CMP0003 cmake 2.6 introduced changes in the way libraries are found. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e5ed17..84634f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,10 @@ # versions before 2.4.8 do not seem to know about Qt's DBus CMAKE_MINIMUM_REQUIRED(VERSION 2.4.8 FATAL_ERROR) +IF(COMMAND CMAKE_POLICY) + CMAKE_POLICY(SET CMP0003 NEW) +ENDIF(COMMAND CMAKE_POLICY) + PROJECT(skype-call-recorder) SET(TARGET skype-call-recorder) -- 2.11.4.GIT