mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-03 20:40:17 -05:00
Disable -Wimplicit-fallthrough for mmatch
This commit is contained in:
parent
05d933c18d
commit
47a9dab847
1 changed files with 7 additions and 0 deletions
7
third-party/mmatch/CMakeLists.txt
vendored
7
third-party/mmatch/CMakeLists.txt
vendored
|
|
@ -6,6 +6,13 @@ set(mmatch_SOURCES
|
|||
|
||||
add_library(mmatch OBJECT ${mmatch_SOURCES})
|
||||
|
||||
if(NOT MSVC)
|
||||
target_compile_options(mmatch
|
||||
PRIVATE
|
||||
-Wno-implicit-fallthrough
|
||||
)
|
||||
endif()
|
||||
|
||||
set_target_properties(
|
||||
mmatch PROPERTIES
|
||||
FOLDER Lib
|
||||
|
|
|
|||
Loading…
Reference in a new issue