From 4b5ae0b0ef2bb018417eceaabe8b1e1ea1e74150 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 13 Apr 2023 16:53:45 -0700 Subject: [PATCH] Remove unnecessary module support check --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 89c7d202..eaf25241 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,14 +157,6 @@ option(FMT_OS "Include core requiring OS (Windows/Posix) " ON) option(FMT_MODULE "Build a module instead of a traditional library." OFF) option(FMT_SYSTEM_HEADERS "Expose headers with marking them as system." OFF) -set(FMT_CAN_MODULE OFF) -if (CMAKE_CXX_STANDARD GREATER 17 AND NOT MSVC) - set(FMT_CAN_MODULE ON) -endif () -if (NOT FMT_CAN_MODULE) - set(FMT_MODULE OFF) - message(STATUS "Module support is disabled.") -endif () if (FMT_TEST AND FMT_MODULE) # The tests require {fmt} to be compiled as traditional library message(STATUS "Testing is incompatible with build mode 'module'.")