summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-01 23:41:49 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-01 23:41:49 +0100
commit5ae2ca85c41757dd72bd8651cfddfada517b30e3 (patch)
tree8dfcdce4d05dbdbbbb776d6baace7c61cec336b9 /cmake
parent4c11e0be17ff1a96630ec2d787cc7f6bed56abc7 (diff)
cmake: fix -isystem in include_directories()
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-qt.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake
index 800e9096..1735e836 100644
--- a/cmake/opentrack-qt.cmake
+++ b/cmake/opentrack-qt.cmake
@@ -51,7 +51,7 @@ function(otr_qt n)
endfunction()
function(otr_qt2 n)
- target_include_directories("${n}" PRIVATE SYSTEM
+ target_include_directories("${n}" SYSTEM PRIVATE
${Qt5Core_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS}
)
target_compile_definitions("${n}" PRIVATE