add an option for ENABLE_CJSON_VERSION_SO in CMakeLists.txt (#534)

Co-authored-by: m00209177 <malihu@huawei.com>
This commit is contained in:
Andyandm00209177 authored and GitHub committed 2022-01-19 14:45:02 +08:00
1 parent d321fa9e6e
commit 61eb84d991
2 files changed
+14 -8

No files matched your search

+1
View File
@@ -118,6 +118,7 @@ You can change the build process with a list of different options that you can p
* `-DCMAKE_INSTALL_PREFIX=/usr`: Set a prefix for the installation.
* `-DENABLE_LOCALES=On`: Enable the usage of localeconv method. ( on by default )
* `-DCJSON_OVERRIDE_BUILD_SHARED_LIBS=On`: Enable overriding the value of `BUILD_SHARED_LIBS` with `-DCJSON_BUILD_SHARED_LIBS`.
* `-DENABLE_CJSON_VERSION_SO`: Enable cJSON so version. ( on by default )
If you are packaging cJSON for a distribution of Linux, you would probably take these steps for example:
```