File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ set(gnu $<CXX_COMPILER_ID:GNU>)
95
95
set (clang $< OR:$< CXX_COMPILER_ID:Clang> ,$< CXX_COMPILER_ID:AppleClang> > )
96
96
set (libcxx $< AND:${clang} ,$< BOOL:${skyr_BUILD_WITH_LLVM_LIBCXX} > > )
97
97
set (msvc $< CXX_COMPILER_ID:MSVC> )
98
+ set (clang_with_gnu_stdlib $< AND:$< CXX_COMPILER_ID:Clang> ,$< NOT:$< BOOL:${WIN32} > > ,$< NOT:$< BOOL:${skyr_BUILD_WITH_LLVM_LIBCXX} > > > )
98
99
99
100
target_compile_definitions (
100
101
skyr-url-v1
@@ -161,6 +162,7 @@ if (skyr_ENABLE_FILESYSTEM_FUNCTIONS)
161
162
INTERFACE
162
163
skyr-url-v1
163
164
$< ${gnu} :"stdc++fs">
165
+ $< ${clang_with_gnu_stdlib} :"stdc++fs">
164
166
)
165
167
166
168
target_include_directories (
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ set(gnu $<CXX_COMPILER_ID:GNU>)
84
84
set (clang $< OR:$< CXX_COMPILER_ID:Clang> ,$< CXX_COMPILER_ID:AppleClang> > )
85
85
set (libcxx $< AND:${clang} ,$< BOOL:${skyr_BUILD_WITH_LLVM_LIBCXX} > > )
86
86
set (msvc $< CXX_COMPILER_ID:MSVC> )
87
+ set (clang_with_gnu_stdlib $< AND:$< CXX_COMPILER_ID:Clang> ,$< NOT:$< BOOL:${WIN32} > > ,$< NOT:$< BOOL:${skyr_BUILD_WITH_LLVM_LIBCXX} > > > )
87
88
88
89
#target_compile_definitions(
89
90
# skyr-url-v2
@@ -149,6 +150,7 @@ if (skyr_ENABLE_FILESYSTEM_FUNCTIONS)
149
150
INTERFACE
150
151
skyr-url-v2
151
152
$< ${gnu} :"stdc++fs">
153
+ $< ${clang_with_gnu_stdlib} :"stdc++fs">
152
154
)
153
155
154
156
target_include_directories (
You can’t perform that action at this time.
0 commit comments