diff --git a/3rdparty/json-c/CMakeLists.txt b/3rdparty/json-c/CMakeLists.txt
index 5953b4a5fab047f9f0c79358e033d7e82485401f..22adb7cd4c35edf0caf7491d356e14a294690dbf 100644
--- a/3rdparty/json-c/CMakeLists.txt
+++ b/3rdparty/json-c/CMakeLists.txt
@@ -433,7 +433,7 @@ configure_file(json.h.cmakein ${PROJECT_BINARY_DIR}/json.h @ONLY)
 include_directories(${PROJECT_SOURCE_DIR})
 include_directories(${PROJECT_BINARY_DIR})
 
-add_subdirectory(doc)
+#add_subdirectory(doc)
 
 # "uninstall" custom target for make generators in unix like operating systems
 # and if that target is not present