Commit a1ff128
committed
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).1 parent fde3e38 commit a1ff128
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | | - | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
0 commit comments