File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ project(CLICE_PROJECT LANGUAGES C CXX)
33
44set (CMAKE_CXX_STANDARD 23)
55set (CMAKE_CXX_STANDARD_REQUIRED ON )
6+ set (CMAKE_CXX_SCAN_FOR_MODULES OFF )
67set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
78
89include (GNUInstallDirs )
@@ -49,6 +50,7 @@ elseif(APPLE)
4950elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
5051 target_link_options (clice_options INTERFACE
5152 -fuse-ld=lld
53+ -static-libstdc++ -static-libgcc
5254 -Wl,--gc-sections
5355 )
5456endif ()
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ FetchContent_Declare(
135135 GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git
136136 GIT_TAG v1.0.4
137137)
138+ set (CPPTRACE_DISABLE_CXX_20_MODULES ON CACHE BOOL "" FORCE )
138139
139140FetchContent_MakeAvailable (libuv spdlog tomlplusplus croaring flatbuffers cpptrace)
140141
You can’t perform that action at this time.
0 commit comments