Commit b51b6cc5 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'iconv-c++11'

736f38ff

 FindIconv test: request C++11
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3469
parents d7d282cd 736f38ff
...@@ -6,9 +6,11 @@ find_package(Iconv REQUIRED) ...@@ -6,9 +6,11 @@ find_package(Iconv REQUIRED)
add_executable(test_iconv_tgt main.cxx) add_executable(test_iconv_tgt main.cxx)
target_link_libraries(test_iconv_tgt Iconv::Iconv) target_link_libraries(test_iconv_tgt Iconv::Iconv)
target_compile_features(test_iconv_tgt PRIVATE cxx_std_11)
add_test(NAME test_iconv_tgt COMMAND test_iconv_tgt) add_test(NAME test_iconv_tgt COMMAND test_iconv_tgt)
add_executable(test_iconv_var main.cxx) add_executable(test_iconv_var main.cxx)
target_include_directories(test_iconv_var PRIVATE ${Iconv_INCLUDE_DIRS}) target_include_directories(test_iconv_var PRIVATE ${Iconv_INCLUDE_DIRS})
target_link_libraries(test_iconv_var PRIVATE ${Iconv_LIBRARIES}) target_link_libraries(test_iconv_var PRIVATE ${Iconv_LIBRARIES})
target_compile_features(test_iconv_var PRIVATE cxx_std_11)
add_test(NAME test_iconv_var COMMAND test_iconv_var) add_test(NAME test_iconv_var COMMAND test_iconv_var)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment