From febef742d54e3db5c155d285797b1e5969edd015 Mon Sep 17 00:00:00 2001 From: Alastair Robertson Date: Fri, 19 May 2023 08:01:54 -0700 Subject: [PATCH] Disable warnings for generated Flex & Bison code --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0464816..907580d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -242,6 +242,7 @@ FLEX_TARGET(Lexer oi/OILexer.l ${CMAKE_CURRENT_BINARY_DIR}/OILexer.cpp) ADD_FLEX_BISON_DEPENDENCY(Lexer Parser) add_library(oid_parser STATIC ${BISON_Parser_OUTPUTS} ${FLEX_Lexer_OUTPUTS}) +target_compile_options(oid_parser PRIVATE "-w") # Disable warnings for generated code target_link_libraries(oid_parser glog::glog) ### Core OI