Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 98a4095fe53d0cc2e43217484210e756 > files > 2

kdevelop4-4.7.3-1.mga5.src.rpm

--- kdevelop-4.7.3/po/CMakeLists.txt	2016-01-22 19:20:15.000000000 +0100
+++ kdevelop-4.7.1/po/CMakeLists.txt	2015-02-02 15:23:53.000000000 +0100
@@ -1,3 +1,9 @@
+# The pofiles macro creates in some versions same name targets
+# which since cmake 2.8 leads to target clashes.
+# Hence force the old policy for all po directories.
+# http://public.kitware.com/Bug/view.php?id=12952
+cmake_policy(SET CMP0002 OLD)
+
 find_package(Gettext REQUIRED)
 if (NOT GETTEXT_MSGMERGE_EXECUTABLE)
 MESSAGE(FATAL_ERROR "Please install msgmerge binary")