diff --git a/CMakeLists.txt b/CMakeLists.txt index 5450b05..450b14e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,8 @@ set(prefix ${CMAKE_INSTALL_PREFIX}) set(libdir "${CMAKE_INSTALL_PREFIX}/lib") set(version ${CJSON_VERSION}) +option(BUILD_SHARED_LIBS "Build shared libraries" ON) + #cJSON set(PROJ_CJSON cJSON) set(CJSON_LIB cjson)