浏览代码

Merge branch 'doc-genex-tweak' into release-3.15

Merge-request: !3939
Brad King 6 年之前
父节点
当前提交
08173075c1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Help/manual/cmake-generator-expressions.7.rst

+ 1 - 1
Help/manual/cmake-generator-expressions.7.rst

@@ -195,7 +195,7 @@ Variable Queries
   .. code-block:: cmake
 
     target_compile_definitions(myapp
-      PRIVATE $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:Clang>>:COMPILING_CXX_WITH_CLANG>
+      PRIVATE $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:AppleClang,Clang>>:COMPILING_CXX_WITH_CLANG>
               $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:Intel>>:COMPILING_CXX_WITH_INTEL>
               $<$<AND:$<COMPILE_LANGUAGE:C>,$<C_COMPILER_ID:Clang>>:COMPILING_C_WITH_CLANG>
     )