debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ |
| 5 | |
| 6 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 7 | test := true |
| 8 | else |
| 9 | test := false |
| 10 | endif |
| 11 | |
| 12 | override_dh_auto_configure: |
| 13 | dh_auto_configure -- \ |
| 14 | -DCPP_JWT_BUILD_EXAMPLES=false \ |
| 15 | -DCPP_JWT_BUILD_TESTS=$(test) \ |
| 16 | -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON=false |