fuzzers|cmake|ci: Save compile time on libprotobuf-mutator examples

As a side effect, CI no longer needs to install liblzma-dev.
This commit is contained in:
Sebastian Pipping 2025-02-07 18:55:43 +01:00
parent 14424c70fb
commit 9e906b5bf1
2 changed files with 1 additions and 1 deletions

View file

@ -63,7 +63,6 @@ jobs:
run: |-
set -x
sudo apt-get install --yes --no-install-recommends -V \
liblzma-dev \
libprotobuf-dev \
protobuf-compiler

View file

@ -782,6 +782,7 @@ if(EXPAT_BUILD_FUZZERS)
CMAKE_CACHE_ARGS
-DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER}
-DCMAKE_CXX_COMPILER:FILEPATH=${CMAKE_CXX_COMPILER}
-DLIB_PROTO_MUTATOR_EXAMPLES:BOOL=OFF
-DLIB_PROTO_MUTATOR_TESTING:BOOL=OFF
BUILD_BYPRODUCTS ${ProtobufMutator_LIBRARIES}
UPDATE_COMMAND true