mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
FindIconv test: request C++11
This commit is contained in:
1 parent
154d25f5ba
commit
736f38ff34
1 file changed
+2
@@ -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)
|
||||
Reference in new issue
Block a user