Commit 9ee64882 authored by Hannah Kiekens's avatar Hannah Kiekens Committed by Nicolas Fella

Do not use SYSTEM when including header paths

Summary:
Using SYSTEM here forces CMake to pass -isystem to gcc.
This breaks crosscompiling on multiple occasions
This incorrectly tells gcc that BluezQt include dir is of system inportance

Test Plan: Crosscompiling with KDE Yocto project to raspberrypi3

Reviewers: #plasma, drosca, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19675
parent cbe01c7e
......@@ -19,7 +19,7 @@ target_link_libraries(kio_bluetooth
Qt5::Network
)
target_include_directories(kio_bluetooth SYSTEM
target_include_directories(kio_bluetooth
PUBLIC $<TARGET_PROPERTY:KF5::BluezQt,INTERFACE_INCLUDE_DIRECTORIES>)
########### install files ###############
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment