Skip to content

Commit 656b3ba

Browse files
authored
Remove workarounds for GCC < 9 and Clang < 9 (#102)
1 parent 07557dc commit 656b3ba

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,7 @@ set(CMAKE_CXX_STANDARD 20)
3434
set(CMAKE_CXX_STANDARD_REQUIRED ON)
3535
set(CMAKE_CXX_EXTENSIONS OFF)
3636

37-
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0)
38-
message(STATUS "GCC < 9.0 requires 'stdc++fs' for std::filesystem support")
39-
link_libraries(stdc++fs)
40-
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0)
41-
message(STATUS "Clang < 9.0 requires 'c++fs' for std::filesystem support")
42-
link_libraries(c++fs)
43-
endif()
44-
4537
include(Template)
46-
4738
include("${CMAKE_BINARY_DIR}/conan_paths.cmake" OPTIONAL)
4839

4940
find_package(yaml-cpp REQUIRED)

0 commit comments

Comments
 (0)