From 41f8fe4e55a3b0f2e471959374ba36314e19edc0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 6 Oct 2023 19:29:28 +0200 Subject: a --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f83051b..fb64dc2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,6 +151,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_CXX_COMPILER_ID STREQUAL add_compile_definitions($<$:$<$:_LIBCPP_ENABLE_ASSERTIONS>>) add_compile_options(-Wno-reserved-macro-identifier) add_compile_options($<$:-Wno-ambiguous-reversed-operator>) + add_compile_options(-fmodules) + add_link_options(-fmodules) endif() set_directory_properties(PROPERTIES CORRADE_USE_PEDANTIC_FLAGS OFF) -- cgit v1.2.3