Skip to content

Commit 71225e3

Browse files
committed
COMP: Silence warning in Expat config
Expat is not tested on pre MSVC=1930 versions. A warning idicates the lack of testing (not a lack of working). Silence the configure-time warning. Resolves: 5534
1 parent 7ca2f0e commit 71225e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Modules/ThirdParty/Expat/src/itkexpat/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,10 @@ if(MSVC)
237237
message(SEND_ERROR "MSVC_VERSION ${MSVC_VERSION} is TOO OLD to compile Expat without errors.")
238238
message(SEND_ERROR "Please use officially supported ${_EXPAT_MSVC_SUPPORTED_DISPLAY} or later. Thank you!")
239239
else()
240+
#[[ ITK -- start
240241
message(WARNING "MSVC_VERSION ${MSVC_VERSION} is NOT OFFICIALLY SUPPORTED by Expat.")
241242
message(WARNING "Please use ${_EXPAT_MSVC_SUPPORTED_DISPLAY} or later. Thank you!")
243+
#]] # ITK --stop
242244
endif()
243245
endif()
244246
endif()

0 commit comments

Comments
 (0)