-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ set(FMT_CAN_MODULE OFF) | |
if (CMAKE_CXX_STANDARD GREATER 17 AND | ||
# msvc 16.10-pre4 | ||
MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.29.30035) | ||
set(FMT_CAN_MODULE ON) | ||
set(FMT_CAN_MODULE OFF) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
vitaut
Contributor
|
||
endif () | ||
if (NOT FMT_CAN_MODULE) | ||
set(FMT_MODULE OFF) | ||
|
@vitaut Honestly, I don't quite understand why this change has been committed. This change essentially disabled the module system completely regardless of the compiler because the initial value of
FMT_CAN_MODULE
isOFF
, plus there is nowhere else change this value to enable the new module system.If the intended behaviour is to remove the support for the MSVC module system only, I would suggest simply changing the
if
guard toCMAKE_CXX_STANDARD GREATER 17 AND NOT MSVC
and keepset(FMT_CAN_MODULE ON)
.