forked from lthn/blockchain
an attempt to fil gcc linking (prior to gcc 9, the std::filesystem library required explicit linking)
This commit is contained in:
parent
87cd247eb5
commit
94b9741976
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ else()
|
|||
if (CLANG)
|
||||
set(LLVM_USE_LINKER "gold")
|
||||
else()
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold -lstdc++fs")
|
||||
endif()
|
||||
endif()
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT (CMAKE_C_COMPILER_VERSION VERSION_LESS 4.8))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue