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 22, 2024
1 parent 4723d88 commit 4a493bd
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 4a493bd

Please sign in to comment.