mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
Help: Fix error in $<COMPILE_LANGUAGE:lang> example
This commit is contained in:
1 parent
1180fdb656
commit
3ecbe76e60
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user