3rdParty-devel/CMakeLists.txt: Avoid cJSON test programs

This should make the build simpler and less prone to build-time errors.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9575 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c31b6a45de6bebb1f87038142cae3ecde9ad964a
Former-commit-id: 6c358e0f95f15a1d39b5aaace5817566cd651f58
This commit is contained in:
xavi92 2024-10-27 07:49:14 +00:00
parent 197f34c78d
commit 4f8e2aaf09

View file

@ -577,7 +577,12 @@ else()
endif()
if(OPTION_CJSON)
set(CJSON_ARGS ${EXTERNALS_CMAKE_ARGS} -D CMAKE_DEBUG_POSTFIX= )
set(CJSON_ARGS
${EXTERNALS_CMAKE_ARGS}
-D CMAKE_DEBUG_POSTFIX=
-D CJSON_BUILD_LOADER_EXAMPLE=Off
-D ENABLE_CJSON_TEST=OFF
)
ExternalProject_Add(${CJSON_PROJECT}
URL ${CJSON_URL}
URL_HASH ${CJSON_HASH}