summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-07 09:13:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-07 09:13:12 +0200
commit43b0aa1e1f8abe130ffc9601e95b5cd9f977c808 (patch)
tree04f5dad5519b2f2ffce10c2cec8f590e0be74752
parentdb9532ae255798454be991a1d8cdd1bc55206363 (diff)
-fmodules was a bad idea
-rw-r--r--CMakeLists.txt7
1 files changed, 0 insertions, 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($<$<COMPILE_LANGUAGE:CXX>:$<$<CONFIG:DEBUG,Debug>:_LIBCPP_ENABLE_ASSERTIONS>>)
add_compile_options(-Wno-reserved-macro-identifier)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-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)