瀏覽代碼

Merge branch 'backport-3.16-FindPkgConfig-isystem' into release-3.16

Merge-request: !4752
Brad King 5 年之前
父節點
當前提交
481100ecbc
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Help/release/3.16.rst

+ 6 - 0
Help/release/3.16.rst

@@ -310,3 +310,9 @@ Changes made since CMake 3.16.0 include the following.
 * Selection of the Objective C or C++ compiler now considers the
   :envvar:`CC` or :envvar:`CXX` environment variable if the
   :envvar:`OBJC` or :envvar:`OBJCXX` environment variable is not set.
+
+* The :module:`FindPkgConfig` module now extracts include directories
+  prefixed with ``-isystem`` into the ``*_INCLUDE_DIRS`` variables and
+  :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` target properties.
+  Previously they would be places in ``*_CFLAGS_OTHER`` variables and
+  :prop_tgt:`INTERFACE_COMPILE_OPTIONS` target properties.