Commit 71eac59
committed
Fix FindLibzrtp.cmake header search and add optional bnlib linking (PR #274)
- search for libzrtp/zrtp.h to match the actual #include path used in
core/AmZRTP.h and core/AmRtpStream.cpp
- optionally find and append libbn (Colin Plumb's big-number library)
when it is installed as a separate archive alongside libzrtp
- keep libbn optional so builds where bn is bundled into libzrtp still work
- use correct CMake keyword NAMES (not NAME) and follow project conventions1 parent c344a5d commit 71eac59
1 file changed
+11
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
5 | 3 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
10 | 7 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 8 | + | |
18 | 9 | | |
19 | | - | |
| 10 | + | |
20 | 11 | | |
21 | 12 | | |
22 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
23 | 16 | | |
24 | | - | |
| 17 | + | |
25 | 18 | | |
26 | 19 | | |
27 | 20 | | |
| |||
0 commit comments