Skip to content

Commit

Permalink
#2286: Remove std::filesystem workaround for gcc-8
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable authored and cz4rs committed Nov 14, 2024
1 parent 97a9a03 commit 21c1e64
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmake/link_vt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 21c1e64

Please sign in to comment.