mirror of
https://github.com/DaveGamble/cJSON
synced 2024-12-24 23:52:07 +00:00
CMake: Build shared libraries by default
This is also what other projects are doing.
This commit is contained in:
parent
9acd1c6e7e
commit
c3fecc2d07
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user