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:
committed by
Chris Marsh
parent
cfd6470946
commit
d121bbe709
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user