2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

Use more idiomatic OFF and ON with cmake

This commit is contained in:
Jay Berkenbilt 2024-06-18 10:55:19 -04:00
parent 65a415e379
commit 293203ac2d

View File

@ -23,7 +23,7 @@ fi
env CMAKE_PREFIX_PATH=$WORK LDFLAGS="-L$WORK/lib -lpthread" \
cmake -S . -B build \
-DOSS_FUZZ=1 -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Debug \
-DUSE_IMPLICIT_CRYPTO=0 -DREQUIRE_CRYPTO_NATIVE=1
-DOSS_FUZZ=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Debug \
-DUSE_IMPLICIT_CRYPTO=OFF -DREQUIRE_CRYPTO_NATIVE=ON
cmake --build build -j$(nproc) --target fuzzers
cmake --install build --component fuzz