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

Co-authored-by: m00209177 <[email protected]>
This commit is contained in:
Andy
2022-01-19 14:45:02 +08:00
committed by GitHub
co-authored by m00209177
parent d321fa9e6e
commit 61eb84d991
2 changed files with 14 additions and 8 deletions
+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:
```