summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-05 14:29:39 +0000
committerKitware Robot <kwrobot@kitware.com>2017-04-05 10:29:57 -0400
commit333ff168eb04e12d5d118a2e9cf50d600c508db5 (patch)
tree8eb0e57fd4c0aaff90f57eda8201e298f2ece75a /Help
parentd9bd7adfdfa0e06ec77507933664f7ae344dcf1a (diff)
parent3ecbe76e60293275b7d6753d551fb003fceb2cab (diff)
downloadcmake-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.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 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)