提交 c3fecc2d 编写于 作者: M Max Bruckner

CMake: Build shared libraries by default

This is also what other projects are doing.
上级 9acd1c6e
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册