tellico/switch-order-of-cmake-modules.patch
Christophe Giboudeaux 2016dbeb37 Accepting request 820417 from home:wolfi323:branches:KDE:Extra
- Add switch-order-of-cmake-modules.patch to fix build with KDE
  Frameworks 5.72.0

OBS-URL: https://build.opensuse.org/request/show/820417
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/tellico?expand=0&rev=61
2020-07-11 15:13:49 +00:00

29 lines
914 B
Diff

From d8cc345fe152abeafc0c340e47c84576ac42f0cb Mon Sep 17 00:00:00 2001
From: Jonathan Riddell <jr@jriddell.org>
Date: Fri, 19 Jun 2020 15:35:08 +0100
Subject: [PATCH] switch order of cmake modules so it gives priority to the
local copy which will be the one it expects. fixes build failure on KDE neon
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index af3cc83e..ee885c6a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,8 +20,8 @@ endif(POLICY CMP0063)
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
- ${ECM_MODULE_PATH}
- ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules
+ ${ECM_MODULE_PATH})
#include(ECMAddTests)
#include(ECMMarkNonGuiExecutable)
--
GitLab