Revert "cmake: build bundled_cjson with -fpic"

This reverts commit 7024462ffd.
This commit is contained in:
rafal1137 2022-11-10 02:48:49 +01:00 committed by RaFaL
parent 7024462ffd
commit fb3f234a5d

View file

@ -1130,7 +1130,6 @@ endif()
if(BUNDLED_CJSON)
add_library(bundled_cjson STATIC "${CMAKE_CURRENT_LIST_DIR}/cjson/cJSON.c")
set_property(TARGET bundled_cjson PROPERTY POSITION_INDEPENDENT_CODE ON)
target_include_directories(bundled_cjson PUBLIC "${CMAKE_CURRENT_LIST_DIR}/cjson/")
target_compile_definitions(bundled_cjson PUBLIC BUNDLED_CJSON)
endif()