Merge topic 'doc-cmake-compile-features-typo'

a9b1838f Help: Fix typo in cmake-compile-features(7) manual (#15594)
This commit is contained in:
Brad King 2015-06-01 09:37:29 -04:00 committed by CMake Topic Stage
commit f663e9d0a0
1 changed files with 1 additions and 1 deletions

View File

@ -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}>"