summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-generator-expressions.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-21 14:27:15 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-21 14:27:21 (GMT)
commit308990b2bcf1a824cb641a31c7a63f0dbf8f7498 (patch)
tree423b6351beb532662b8c6ad19592e04ca34bc14e /Help/manual/cmake-generator-expressions.7.rst
parent92780281c2e8a46223b262b152caa9c8329373b1 (diff)
parentc684db4ea8d4763a7a70582d24c4bf5ac14cfea4 (diff)
downloadCMake-308990b2bcf1a824cb641a31c7a63f0dbf8f7498.zip
CMake-308990b2bcf1a824cb641a31c7a63f0dbf8f7498.tar.gz
CMake-308990b2bcf1a824cb641a31c7a63f0dbf8f7498.tar.bz2
Merge branch 'doc-genex-tweak' into release-3.16
Merge-request: !3939
Diffstat (limited to 'Help/manual/cmake-generator-expressions.7.rst')
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index 6e7f9b5..ba9887c 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -211,7 +211,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>
)