Blame 0240-Fix-duplicated-symbol-compile-error-on-Windows.patch

Rex Dieter 1f411f
From 6d235f2cd835d5d3e00dee43ed29bdf2c5ca80d5 Mon Sep 17 00:00:00 2001
Rex Dieter 1f411f
From: Ralf Habacker <ralf.habacker@freenet.de>
Rex Dieter 1f411f
Date: Tue, 23 May 2017 19:52:20 +0200
Rex Dieter 1f411f
Subject: [PATCH 240/258] Fix 'duplicated symbol' compile error on Windows.
Rex Dieter 1f411f
Rex Dieter 1f411f
Because the whole project uses cmake automoc support additional
Rex Dieter 1f411f
calls to automoc4 causes 'duplicated symbol' errors on Windows.
Rex Dieter 1f411f
---
Rex Dieter 1f411f
 kmymoney/plugins/onlinetasks/national/CMakeLists.txt | 1 -
Rex Dieter 1f411f
 kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt     | 1 -
Rex Dieter 1f411f
 2 files changed, 2 deletions(-)
Rex Dieter 1f411f
Rex Dieter 1f411f
diff --git a/kmymoney/plugins/onlinetasks/national/CMakeLists.txt b/kmymoney/plugins/onlinetasks/national/CMakeLists.txt
Rex Dieter 1f411f
index d3e7c44..5710c70 100644
Rex Dieter 1f411f
--- a/kmymoney/plugins/onlinetasks/national/CMakeLists.txt
Rex Dieter 1f411f
+++ b/kmymoney/plugins/onlinetasks/national/CMakeLists.txt
Rex Dieter 1f411f
@@ -20,7 +20,6 @@ kde4_add_ui_files( konlinetasks_national_SCRS
Rex Dieter 1f411f
 )
Rex Dieter 1f411f
 
Rex Dieter 1f411f
 # Make this plugin unit testable
Rex Dieter 1f411f
-automoc4(konlinetasks_national_OBJECTS konlinetasks_national_SCRS)
Rex Dieter 1f411f
 add_library( konlinetasks_national_OBJECTS OBJECT ${konlinetasks_national_SCRS} )
Rex Dieter 1f411f
 
Rex Dieter 1f411f
 # Add plugin which is not allowed in the unit test
Rex Dieter 1f411f
diff --git a/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt b/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
Rex Dieter 1f411f
index 3c2d9db..8415c69 100644
Rex Dieter 1f411f
--- a/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
Rex Dieter 1f411f
+++ b/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
Rex Dieter 1f411f
@@ -12,7 +12,6 @@ kde4_add_ui_files( sepaOnlineTasks_SRCS
Rex Dieter 1f411f
   ui/sepacredittransferedit.ui
Rex Dieter 1f411f
 )
Rex Dieter 1f411f
 
Rex Dieter 1f411f
-automoc4( konlinetasks_sepa_OBJECTS sepaOnlineTasks_SRCS)
Rex Dieter 1f411f
 add_library( konlinetasks_sepa_OBJECTS OBJECT ${sepaOnlineTasks_SRCS} )
Rex Dieter 1f411f
 
Rex Dieter 1f411f
 # Add actual plugin here it is not part of the objects
Rex Dieter 1f411f
-- 
Rex Dieter 1f411f
2.9.4
Rex Dieter 1f411f