aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-03-13 12:15:02 +0000
committerTor Egge <Tor.Egge@online.no>2023-03-13 12:15:02 +0000
commite77611a6e5ac63f48929e68357f11aeba21c7a77 (patch)
treed0466362423303dc0c727c6ace21f9f92c4b6d9f /searchlib
parente73005677cdbc12d1cb613e3020b4fa0dbaef268 (diff)
Adjust default build settings for Ubuntu 22.04.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/tests/engine/proto_converter/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/searchlib/src/tests/engine/proto_converter/CMakeLists.txt b/searchlib/src/tests/engine/proto_converter/CMakeLists.txt
index 7b545beb544..34223f25f9a 100644
--- a/searchlib/src/tests/engine/proto_converter/CMakeLists.txt
+++ b/searchlib/src/tests/engine/proto_converter/CMakeLists.txt
@@ -7,3 +7,6 @@ vespa_add_executable(searchlib_engine_proto_converter_test_app TEST
GTest::GTest
)
vespa_add_test(NAME searchlib_engine_proto_converter_test_app COMMAND searchlib_engine_proto_converter_test_app)
+if(Protobuf_VERSION VERSION_LESS_EQUAL 3.12.4)
+ set_source_files_properties(proto_converter_test.cpp PROPERTIES COMPILE_OPTIONS "-Wno-inline")
+endif()