1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 8bd825f..694d9b2 100644
5 @@ -72,6 +72,8 @@ if(WITH_JSON)
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}")