python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / zmap / cmake-json-0.14-fix.patch
blob1c132948af6aa2985f834c970d20db441aeb478d
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 8bd825f..694d9b2 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -72,6 +72,8 @@ if(WITH_JSON)
6 endif()
8 add_definitions("-DJSON")
9 + # JSON_CFLAGS is a list, i.e. semicolon-separated, convert it to space-separated
10 + string(REPLACE ";" " " JSON_CFLAGS "${JSON_CFLAGS}")
11 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${JSON_CFLAGS}")
12 endif()