fix: disable narrowing warnings

This commit is contained in:
Robert Schulze 2022-09-06 21:57:59 +00:00
parent 0e363ca6e3
commit c4297c6c99
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -242,6 +242,12 @@ list (APPEND SRCS
"${LIBRARY_DIR}/../vectorscan-cmake/rageled_files/control_verbs.cpp"
)
set_source_files_properties(
"${LIBRARY_DIR}/../vectorscan-cmake/rageled_files/Parser.cpp"
"${LIBRARY_DIR}/../vectorscan-cmake/rageled_files/control_verbs.cpp"
COMPILE_FLAGS -Wno-c++11-narrowing
)
# Platform-dependent files
if (ARCH_AMD64)
list(APPEND SRCS