Skip to content

Commit c4bca58

Browse files
committed
turn off cpptrace module
1 parent cec13ec commit c4bca58

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ project(CLICE_PROJECT LANGUAGES C CXX)
33

44
set(CMAKE_CXX_STANDARD 23)
55
set(CMAKE_CXX_STANDARD_REQUIRED ON)
6+
set(CMAKE_CXX_SCAN_FOR_MODULES OFF)
67
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
78

89
include(GNUInstallDirs)
@@ -49,6 +50,7 @@ elseif(APPLE)
4950
elseif(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
)
5456
endif()

cmake/package.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

139140
FetchContent_MakeAvailable(libuv spdlog tomlplusplus croaring flatbuffers cpptrace)
140141

0 commit comments

Comments
 (0)