summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-09-18 21:13:07 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-09-18 21:13:07 (GMT)
commit099e160c8a4840c3ef6134a5ef9265ea5b7398b3 (patch)
treed522697281ce0e24ab25ccee32e2393e2c275404
parent18ab26fb9474178ea330fcb43c2cc0801971786e (diff)
Let KDE*CompilerSettings change the policies in the project
-rw-r--r--CMakeLists.txt2
-rw-r--r--demo/CMakeLists.txt1
-rw-r--r--tests/CMakeLists.txt1
3 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b87488..3b5f99c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,7 +53,7 @@ include(ECMSetupVersion)
include(ECMMarkNonGuiExecutable)
include(KDEInstallDirs)
include(KDECMakeSettings)
-include(KDEFrameworkCompilerSettings)
+include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(GenerateExportHeader)
include(FeatureSummary)
diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt
index f884ae8..a56c88d 100644
--- a/demo/CMakeLists.txt
+++ b/demo/CMakeLists.txt
@@ -54,6 +54,7 @@ if(KF5KExiv2_FOUND)
mainwindow.cpp
../src/kgeomap_common.cpp
../src/libkgeomap_debug.cpp
+ ../src/backends/mapbackend.cpp
)
add_executable(libkgeomap_demo ${demo_SRCS})
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 29b3416..08f19fc 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -54,6 +54,7 @@ if(NOT WIN32)
test_itemmarkertiler.cpp
../src/kgeomap_common.cpp
../src/libkgeomap_debug.cpp
+ ../src/backends/mapbackend.cpp
)
add_executable(kgeomap_test_itemmarkertiler ${test_itemmarkertiler_sources})
target_link_libraries(kgeomap_test_itemmarkertiler KF5KGeoMap Qt5::Core Qt5::Test KF5::WidgetsAddons)