Commit 293203ac2d45c1f80a25bfdda7d33221e2aab777
1 parent
65a415e3
Use more idiomatic OFF and ON with cmake
Showing
1 changed file
with
2 additions
and
2 deletions
fuzz/oss-fuzz-build
| @@ -23,7 +23,7 @@ fi | @@ -23,7 +23,7 @@ fi | ||
| 23 | 23 | ||
| 24 | env CMAKE_PREFIX_PATH=$WORK LDFLAGS="-L$WORK/lib -lpthread" \ | 24 | env CMAKE_PREFIX_PATH=$WORK LDFLAGS="-L$WORK/lib -lpthread" \ |
| 25 | cmake -S . -B build \ | 25 | cmake -S . -B build \ |
| 26 | - -DOSS_FUZZ=1 -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Debug \ | ||
| 27 | - -DUSE_IMPLICIT_CRYPTO=0 -DREQUIRE_CRYPTO_NATIVE=1 | 26 | + -DOSS_FUZZ=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Debug \ |
| 27 | + -DUSE_IMPLICIT_CRYPTO=OFF -DREQUIRE_CRYPTO_NATIVE=ON | ||
| 28 | cmake --build build -j$(nproc) --target fuzzers | 28 | cmake --build build -j$(nproc) --target fuzzers |
| 29 | cmake --install build --component fuzz | 29 | cmake --install build --component fuzz |