Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
joltc's current CMakeLists forces itself to build as a shared library on PC/Android. However, it builds Jolt using the current value of BUILD_SHARED_LIBS. We currently have BUILD_SHARED_LIBS set to ON when adding joltc, so we end up with 2 shared libraries, which is cumbersome. We'd rather just have a single library for Jolt. So instead, let's set BUILD_SHARED_LIBS to off when adding the project, which will build Jolt as a static library and joltc as a shared library (linking to the static library). That way we just end up with a single shared library that contains both joltc and Jolt.
- Loading branch information