diff --git a/CMakeLists.txt b/CMakeLists.txt index 7198eb0..6e8cc68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,10 @@ if (SHARED) set(LIBTYPE SHARED) endif (SHARED) +if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + add_link_options(-fuse-ld=lld) +endif () + if (LEVEL_SIZE STREQUAL "8") add_definitions(-DLEVEL_U8) message(STATUS "Using level size of 8")