mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-01-06 14:38:55 +01:00
Use cmake-standard flag BUILD_SHARED_LIBS
This removes custom `BUILD_DYNAMIC_LIB` option and replaces it with a standard BUILD_SHARED_LIBS: https://cmake.org/cmake/help/v3.7/variable/BUILD_SHARED_LIBS.html Although not mentioned in the documentation there, this flag is implicitly available.
This commit is contained in:
parent
cfd6470946
commit
d121bbe709
3 changed files with 10 additions and 14 deletions
|
|
@ -42,7 +42,7 @@ Sometimes I use the generated project files. There are a couple of CMake options
|
|||
| flag | default | does |
|
||||
|------|---------|------|
|
||||
| `ENABLE_IO_THREAD` | `ON` | When enabled, we start up a thread to do io processing, if disabled you should call `Discord_UpdateConnection` yourself.
|
||||
| `BUILD_DYNAMIC_LIB` | `OFF` | Build library as a DLL
|
||||
| `BUILD_SHARED_LIBS` | `OFF` | Build library as a DLL
|
||||
|
||||
You can also try the `build.py` script for an easy compile for whatever OS you are on.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue