Skip to content

Commit eb5e048

Browse files
committed
UPD | remove -fmodules
1 parent 632adfa commit eb5e048

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

tests/CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
cmake_minimum_required(VERSION 3.28)
22

3-
if (CMAKE_COMPILER_IS_GNUCXX)
4-
add_compile_options(-fmerge-all-constants)
5-
add_compile_options(-fmodules)
6-
add_compile_options(-fmodules-ts)
7-
endif()
3+
add_compile_options($<$<CXX_COMPILER_ID:GNU>:-fmerge-all-constants>)
4+
# add_compile_options($<$<CXX_COMPILER_ID:GNU>:-fmodules>)
5+
# add_compile_options($<$<CXX_COMPILER_ID:GNU>:-fmodules-ts>)
86

97
set(MANAPIHTTP_TEST_TOOL_FILES "utest.h" "tools.hpp")
108

0 commit comments

Comments
 (0)