diff options
author | Brad King <brad.king@kitware.com> | 2019-06-26 10:59:38 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-06-26 11:00:41 (GMT) |
commit | b51b6cc5721779db6bcd9273db6ad2bf40e40c94 (patch) | |
tree | e3dc77c29f7bae834061fcdc1c2a4746f6731bdb /Tests | |
parent | d7d282cd89d0da0a9f192868eb5028c4a3f72587 (diff) | |
parent | 736f38ff3434e168a5548d3d2a0897934fa5de9a (diff) | |
download | CMake-b51b6cc5721779db6bcd9273db6ad2bf40e40c94.zip CMake-b51b6cc5721779db6bcd9273db6ad2bf40e40c94.tar.gz CMake-b51b6cc5721779db6bcd9273db6ad2bf40e40c94.tar.bz2 |
Merge topic 'iconv-c++11'
736f38ff34 FindIconv test: request C++11
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3469
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/FindIconv/Test/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/FindIconv/Test/CMakeLists.txt b/Tests/FindIconv/Test/CMakeLists.txt index c59adb3..a6243f5 100644 --- a/Tests/FindIconv/Test/CMakeLists.txt +++ b/Tests/FindIconv/Test/CMakeLists.txt @@ -6,9 +6,11 @@ find_package(Iconv REQUIRED) add_executable(test_iconv_tgt main.cxx) 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_executable(test_iconv_var main.cxx) target_include_directories(test_iconv_var PRIVATE ${Iconv_INCLUDE_DIRS}) 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) |