Skip to content

Commit 10b6ba1

Browse files
chore: use c++17 to build core library
std::filesystem usage requires c++17
1 parent adb297a commit 10b6ba1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/BUILD

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ cc_library(
7474
srcs = glob(["src/**/*.cpp"] + ["src/**/*.h"]),
7575
hdrs = glob(["include/**/*.h"] + ["include/**/*.hpp"]),
7676
includes = ["include"],
77-
copts = select({
78-
":windows": ["/std:c++17"],
79-
"//conditions:default": [],
80-
}),
77+
copts = ["-std=c++17"],
8178
defines = [
8279
"CODSPEED_VERSION=\\\"{}\\\"".format(CODSPEED_VERSION),
8380
] + select({

0 commit comments

Comments
 (0)