diff --git a/CMakeLists.txt b/CMakeLists.txt index abfd430e..9f773002 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,7 +63,7 @@ else() endif() if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie -lstdc++fs") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie") endif() if(WIN32) diff --git a/vctest/CMakeLists.txt b/vctest/CMakeLists.txt index 916eef31..6f195fe9 100644 --- a/vctest/CMakeLists.txt +++ b/vctest/CMakeLists.txt @@ -35,7 +35,7 @@ else() endif() if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie -lstdc++fs") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie") endif() target_include_directories(