Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow building shared libraries when requested (#20)
Summary: CMake builds static libraries by default unless requested otherwise with `BUILD_SHARED_LIBS`. However, this is made impossible when you pass `STATIC` to `add_library`. Passing `STATIC` isn't really necessary, and can be a hinderance for downstream users. See, for example, facebook/mvfst#302. Pull Request resolved: #20 Reviewed By: kavehahmadi60 Differential Revision: D59240807 Pulled By: genevievehelsel fbshipit-source-id: 0ab62d3d786fd444b7ecbd33141895253023f1c3
- Loading branch information