Skip to content

Commit

Permalink
check mold via symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Aug 8, 2023
1 parent 57d4e1c commit e16e5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ endif()
if(NOT MSVC)
# Try to configure mold as linker via -fuse-ld=mold, support from gcc 12.1, gcc 11.2.0-16 or clang
execute_process(
COMMAND ${CMAKE_CXX_COMPILER} -fuse-ld=mold -Wl,--version
COMMAND ${CMAKE_CXX_COMPILER} -fuse-ld=moold -Wl,--version
ERROR_QUIET
OUTPUT_VARIABLE MOLD_FUSE_VERSION_STRING
OUTPUT_STRIP_TRAILING_WHITESPACE
Expand Down

0 comments on commit e16e5ab

Please sign in to comment.