diff options
author | Brad King <brad.king@kitware.com> | 2017-04-05 14:29:39 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-04-05 10:29:57 -0400 |
commit | 333ff168eb04e12d5d118a2e9cf50d600c508db5 (patch) | |
tree | 8eb0e57fd4c0aaff90f57eda8201e298f2ece75a /Help | |
parent | d9bd7adfdfa0e06ec77507933664f7ae344dcf1a (diff) | |
parent | 3ecbe76e60293275b7d6753d551fb003fceb2cab (diff) | |
download | cmake-333ff168eb04e12d5d118a2e9cf50d600c508db5.tar.gz |
Merge topic 'fix-genex-example'
3ecbe76e Help: Fix error in $<COMPILE_LANGUAGE:lang> example
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !667
Diffstat (limited to 'Help')
-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 645be1ded7..3eac45fb7c 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -117,7 +117,7 @@ Available logical expressions are: .. code-block:: cmake add_library(myapp_c foo.c) - add_library(myapp_cxx foo.c) + add_library(myapp_cxx bar.cpp) target_compile_options(myapp_cxx PUBLIC -fno-exceptions) add_executable(myapp main.cpp) target_link_libraries(myapp myapp_c myapp_cxx) |