Set FMT_CAN_MODULE=OFF for MSVC 19.29.30035+

This commit is contained in:
Spiros Tsalikis 2021-07-23 11:51:41 -04:00 committed by Victor Zverovich
parent 63fe2d5bd2
commit 3def950b84

View File

@ -86,7 +86,7 @@ set(FMT_CAN_MODULE OFF)
if (CMAKE_CXX_STANDARD GREATER 17 AND if (CMAKE_CXX_STANDARD GREATER 17 AND
# msvc 16.10-pre4 # msvc 16.10-pre4
MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.29.30035) MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.29.30035)
set(FMT_CAN_MODULE ON) set(FMT_CAN_MODULE OFF)
endif () endif ()
if (NOT FMT_CAN_MODULE) if (NOT FMT_CAN_MODULE)
set(FMT_MODULE OFF) set(FMT_MODULE OFF)