diff --git a/cmake/link_vt.cmake b/cmake/link_vt.cmake index 52128a747f..cc3c9ad340 100644 --- a/cmake/link_vt.cmake +++ b/cmake/link_vt.cmake @@ -255,11 +255,4 @@ function(link_target_with_vt) if (vt_ubsan_enabled) target_link_libraries(${ARG_TARGET} PUBLIC ${ARG_BUILD_TYPE} -fsanitize=undefined) endif() - - # Enable additional flag for GCC-8 to link std::filesystem - if (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU") - if (NOT (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 9)) - target_link_libraries(${ARG_TARGET} PUBLIC ${ARG_BUILD_TYPE} -lstdc++fs) - endif () - endif () endfunction()