blob: f331cdb49da2acca3208bc7bb42dfabd62881637 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From 18039eb7a3a6c5a24cd58b3e9c924ba63d60ca61 Mon Sep 17 00:00:00 2001
From: David Faure <faure@kde.org>
Date: Sat, 3 Feb 2018 11:32:44 +0100
Subject: Fix cmake syntax, this was adding -I settingsdlgs -I PUBLIC to the
command line
(detected by -Wmissing-include-dirs)
---
src/settings/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/settings/CMakeLists.txt b/src/settings/CMakeLists.txt
index a983484..259a256 100644
--- a/src/settings/CMakeLists.txt
+++ b/src/settings/CMakeLists.txt
@@ -56,7 +56,7 @@ target_link_libraries(settingsdlgs
KF5::Completion
KF5::I18n
)
-include_directories(settingsdlgs
+target_include_directories(settingsdlgs
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/../
${CMAKE_CURRENT_BINARY_DIR}/../
--
cgit v1.1
|