mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Help: Fix error in $<COMPILE_LANGUAGE:lang> example
This commit is contained in:
@@ -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