diff options
author | Brad King <brad.king@kitware.com> | 2019-10-21 15:19:37 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-10-21 15:19:45 (GMT) |
commit | 61c6d49f5a2f3024aca81bb1535ab804f94adfba (patch) | |
tree | 1d28242da8675c2f57f1631cf00634c09fd9c81d /Help/manual | |
parent | 50afd147f851aec03e203f2e8c413ab8a9e744c5 (diff) | |
parent | c684db4ea8d4763a7a70582d24c4bf5ac14cfea4 (diff) | |
download | CMake-61c6d49f5a2f3024aca81bb1535ab804f94adfba.zip CMake-61c6d49f5a2f3024aca81bb1535ab804f94adfba.tar.gz CMake-61c6d49f5a2f3024aca81bb1535ab804f94adfba.tar.bz2 |
Merge topic 'doc-genex-tweak'
c684db4ea8 Help: Fix COMPILE_LANG_AND_ID genex example
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3939
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 2 |
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> ) |