From 43b0aa1e1f8abe130ffc9601e95b5cd9f977c808 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 7 Oct 2023 09:13:12 +0200 Subject: -fmodules was a bad idea --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af3f1d13..bff31b47 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,13 +151,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "App add_compile_definitions($<$:$<$:_LIBCPP_ENABLE_ASSERTIONS>>) add_compile_options(-Wno-reserved-macro-identifier) add_compile_options($<$:-Wno-ambiguous-reversed-operator>) - if (NOT APPLE) - add_compile_options(-fmodules) - add_link_options(-fmodules) - else() - add_compile_options(-fno-modules) - add_link_options(-fno-modules) - endif() endif() set_directory_properties(PROPERTIES CORRADE_USE_PEDANTIC_FLAGS OFF) -- cgit v1.2.3