Rex Dieter 29094f
From 6bd6f6e618b041651408b4dbf8a1b87905369019 Mon Sep 17 00:00:00 2001
Rex Dieter 29094f
From: Alexander Neundorf <neundorf@kde.org>
Rex Dieter 29094f
Date: Thu, 24 Jun 2010 20:30:56 +0000
Rex Dieter 29094f
Subject: [PATCH 25/33] -allow duplicate target names also in the automoc
Rex Dieter 29094f
 macros, to make the modules build again
Rex Dieter 29094f
Rex Dieter 29094f
Alex
Rex Dieter 29094f
Rex Dieter 29094f
Rex Dieter 29094f
svn path=/trunk/kdesupport/automoc/; revision=1142396
Rex Dieter 29094f
---
Rex Dieter 29094f
 Automoc4Config.cmake | 2 ++
Rex Dieter 29094f
 1 file changed, 2 insertions(+)
Rex Dieter 29094f
Rex Dieter 29094f
diff --git a/Automoc4Config.cmake b/Automoc4Config.cmake
Rex Dieter 29094f
index 679a77c..95f528d 100644
Rex Dieter 29094f
--- a/Automoc4Config.cmake
Rex Dieter 29094f
+++ b/Automoc4Config.cmake
Rex Dieter 29094f
@@ -58,6 +58,8 @@ endif(COMMAND cmake_policy)
Rex Dieter 29094f
 # 2.6.4 is required because of the get_filename_component(REALPATH)
Rex Dieter 29094f
 cmake_minimum_required( VERSION 2.6.4 FATAL_ERROR )
Rex Dieter 29094f
 
Rex Dieter 29094f
+# allow duplicate target names, this is also done in FindKDE4Internal.cmake
Rex Dieter 29094f
+cmake_policy(CMP0002 OLD)
Rex Dieter 29094f
 
Rex Dieter 29094f
 get_filename_component(_AUTOMOC4_CURRENT_DIR  "${CMAKE_CURRENT_LIST_FILE}" PATH)
Rex Dieter 29094f
 
Rex Dieter 29094f
-- 
Rex Dieter 29094f
2.4.3
Rex Dieter 29094f