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