File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ macro(AddTestExecutableWithStdCpp cppStd)
48
48
target_link_libraries (filesystem_test_cpp${cppStd} ghc_filesystem)
49
49
target_compile_options (filesystem_test_cpp${cppStd} PRIVATE
50
50
$<$<BOOL :${EMSCRIPTEN} >:-s DISABLE_EXCEPTION_CATCHING=0>
51
- $<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Werror -Wno-error=deprecated-declarations>
51
+ $<$<OR :$< CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang> >:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Werror -Wno-error=deprecated-declarations>
52
52
$<$<CXX_COMPILER_ID:GNU>:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Wno-psabi -Werror -Wno-error=deprecated-declarations>
53
53
$<$<CXX_COMPILER_ID:MSVC >:/WX /wd4996>)
54
54
if (CMAKE_CXX_COMPILER_ID MATCHES MSVC )
Original file line number Diff line number Diff line change 19
19
target_link_libraries (filesystem_test ghc_filesystem)
20
20
target_compile_options (filesystem_test PRIVATE
21
21
$<$<BOOL :${EMSCRIPTEN} >:-s DISABLE_EXCEPTION_CATCHING=0>
22
- $<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Werror>
22
+ $<$<OR :$< CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang> >:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Werror>
23
23
$<$<CXX_COMPILER_ID:GNU>:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Wno-psabi -Werror>
24
24
$<$<CXX_COMPILER_ID:MSVC >:/WX>)
25
25
if (CMAKE_CXX_COMPILER_ID MATCHES MSVC )
You can’t perform that action at this time.
0 commit comments