Skip to content

Commit 8997ff0

Browse files
committed
Removing filesystem flag for Clang and GCC
1 parent 7bf5843 commit 8997ff0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ set(CMAKE_SUPPRESS_REGENERATION true)
1010
option(DASHER_HAVE_OWN_FILEUTILS "Set to true if you provide your own FileUtils implementation" OFF)
1111
if(${DASHER_HAVE_OWN_FILEUTILS})
1212
add_compile_definitions(HAVE_OWN_FILEUTILS)
13-
elseif(NOT(WIN32))
14-
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
15-
link_libraries(c++fs) #needed for std::filesystem with clang
16-
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
17-
link_libraries(stdc++fs) #needed for std::filesystem with gcc
18-
endif()
1913
endif()
2014

2115
###############################

0 commit comments

Comments
 (0)