mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 03:35:55 +00:00
Fix: https://github.com/XRPLF/clio/issues/1242 Depends on: https://github.com/XRPLF/clio/pull/2329
9 lines
225 B
CMake
9 lines
225 B
CMake
if (use_mold)
|
|
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
message(STATUS "Using Mold linker")
|
|
set(CMAKE_LINKER_TYPE MOLD)
|
|
else ()
|
|
message(FATAL_ERROR "Mold linker is only supported on Linux.")
|
|
endif ()
|
|
endif ()
|