mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-22 11:36:25 +00:00
add an option for ENABLE_CJSON_VERSION_SO in CMakeLists.txt (#534)
Co-authored-by: m00209177 <malihu@huawei.com>
This commit is contained in:
1 parent
d321fa9e6e
commit
61eb84d991
2 files changed
+14
-8
No files matched your search
@@ -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:
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user