[CMake] Ignore warnings in system headers
[WebKit-https.git] / Source / WebKit2 / PlatformEfl.cmake
index efefebe..59a1ff0 100644 (file)
@@ -258,6 +258,9 @@ list(APPEND WebKit2_INCLUDE_DIRECTORIES
     "${WEBKIT2_DIR}/WebProcess/WebPage/CoordinatedGraphics"
     "${WTF_DIR}/wtf/efl/"
     "${WTF_DIR}/wtf/gobject"
+)
+
+list(APPEND WebKit2_SYSTEM_INCLUDE_DIRECTORIES
     ${CAIRO_INCLUDE_DIRS}
     ${ECORE_EVAS_INCLUDE_DIRS}
     ${ECORE_IMF_EVAS_INCLUDE_DIRS}
@@ -328,7 +331,7 @@ if (ENABLE_SECCOMP_FILTERS)
     list(APPEND WebKit2_LIBRARIES
         ${LIBSECCOMP_LIBRARIES}
     )
-    list(APPEND WebKit2_INCLUDE_DIRECTORIES
+    list(APPEND WebKit2_SYSTEM_INCLUDE_DIRECTORIES
         ${LIBSECCOMP_INCLUDE_DIRS}
     )
 
@@ -539,7 +542,7 @@ if (ENABLE_API_TESTS)
 endif ()
 
 if (ENABLE_SPELLCHECK)
-    list(APPEND WebKit2_INCLUDE_DIRECTORIES
+    list(APPEND WebKit2_SYSTEM_INCLUDE_DIRECTORIES
         ${ENCHANT_INCLUDE_DIRS}
     )
     list(APPEND WebKit2_LIBRARIES
@@ -550,6 +553,8 @@ endif ()
 if (ENABLE_ACCESSIBILITY)
     list(APPEND WebKit2_INCLUDE_DIRECTORIES
         "${WEBKIT2_DIR}/WebProcess/WebPage/atk"
+    )
+    list(APPEND WebKit2_SYSTEM_INCLUDE_DIRECTORIES
         ${ATK_INCLUDE_DIRS}
     )
     list(APPEND WebKit2_LIBRARIES