Skip to content
Snippets Groups Projects
Commit ef673998 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'vs2015-utf-8-flag-check'


8d8c86b5 testConsoleBuf: tighten the check for the /utf-8 flag

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !11
parents f4bce57f 8d8c86b5
No related branches found
No related tags found
No related merge requests found
......@@ -946,7 +946,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
testConsoleBuf
)
IF("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC" AND
NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "19.0")
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "19.0.23506")
set_property(SOURCE testConsoleBuf.cxx testConsoleBufChild.cxx PROPERTY COMPILE_FLAGS /utf-8)
ENDIF()
SET_PROPERTY(SOURCE testConsoleBuf.cxx APPEND PROPERTY COMPILE_DEFINITIONS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment