]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Mark PHONON_INCLUDES dirs as SYSTEM, so compiler omits them for warnings
authorFriedrich W. H. Kossebau <kossebau@kde.org>
Sun, 8 Jul 2018 12:13:52 +0000 (14:13 +0200)
committerFriedrich W. H. Kossebau <kossebau@kde.org>
Sun, 8 Jul 2018 12:13:52 +0000 (14:13 +0200)
src/CMakeLists.txt

index 4a2cc7e809d07405c6bdee707c83747a12ff95d0..eacb792fc9cf05956fd7c4d7f5937569432917f6 100644 (file)
@@ -268,7 +268,7 @@ qt5_add_resources(dolphinstatic_SRCS dolphin.qrc)
 
 add_library(dolphinstatic STATIC ${dolphinstatic_SRCS})
 
-target_include_directories(dolphinstatic PRIVATE ${PHONON_INCLUDES})
+target_include_directories(dolphinstatic SYSTEM PRIVATE ${PHONON_INCLUDES})
 target_link_libraries(dolphinstatic
     dolphinprivate
     KF5::KCMUtils