Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: do not require static deps for a shared library
Commit a8c3455, commit 5e1cf4d, and commit 4dfb781 implement & add the libraries needed in case of static linking as dependencies for the cmake config file. There are two problems with the implementation: - being unconditionally there, they will make those modules required when building against exiv2, even when not building statically - the exiv2 library build is done either shared or static, so there is no static library in case of a shared build Hence, require the dependencies for the static linking in the cmake config file only when the exiv2 library build is not shared (i.e. static).
- Loading branch information