Skip to content

Commit

Permalink
Merge pull request #176 from oxidase/patch-1
Browse files Browse the repository at this point in the history
Ignore missing-braces warnings for AppleClang similar to Clang
  • Loading branch information
elbeno authored Nov 27, 2024
2 parents bebe3ca + 2435169 commit 2512bcf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ endif()
add_library(stdx INTERFACE)
target_compile_features(stdx INTERFACE cxx_std_${CMAKE_CXX_STANDARD})
target_compile_options(
stdx INTERFACE $<$<CXX_COMPILER_ID:Clang>:-Wno-missing-braces>)
stdx
INTERFACE
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wno-missing-braces>
)
target_link_libraries_system(stdx INTERFACE concurrency boost_mp11
fmt::fmt-header-only)

Expand Down

0 comments on commit 2512bcf

Please sign in to comment.