Skip to content

Commit 0b94d99

Browse files
committed
Include std++fs library for clang 10 or older
1 parent e3a76ab commit 0b94d99

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ function(add_exec_project tgt srcdir)
524524
# Required for #include <experimental/filesystem>.
525525
target_link_libraries(${tgt} "stdc++fs")
526526
elseif(CMAKE_CXX_COMPILER_ID STREQUAL Clang
527-
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "9")
527+
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "11")
528528
target_link_libraries(${tgt} "stdc++fs")
529529
endif()
530530
write_user_file(${tgt} "debug;props;ifNotExists")

tests/perf/pch.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
//
44
// pch.h - dimcli test perf
55

6-
#define DIMCLI_LIB_NO_FILESYSTEM
76
#include "dimcli/cli.h"
87

98
#pragma warning(disable : \

0 commit comments

Comments
 (0)