Merge topic 'doc-cmake-compile-features-typo'
a9b1838f
Help: Fix typo in cmake-compile-features(7) manual (#15594)
This commit is contained in:
commit
f663e9d0a0
|
@ -278,7 +278,7 @@ properties:
|
|||
add_library(foo INTERFACE)
|
||||
set(with_variadics ${CMAKE_CURRENT_SOURCE_DIR}/with_variadics)
|
||||
set(no_variadics ${CMAKE_CURRENT_SOURCE_DIR}/no_variadics)
|
||||
target_link_libraries(foo
|
||||
target_include_directories(foo
|
||||
INTERFACE
|
||||
"$<$<COMPILE_FEATURES:cxx_variadic_templates>:${with_variadics}>"
|
||||
"$<$<NOT:$<COMPILE_FEATURES:cxx_variadic_templates>>:${no_variadics}>"
|
||||
|
|
Loading…
Reference in New Issue