Commit b63c1bb
committed
In the CMake build: In some cases, using a target instead of a library
path makes a configure check fail. Make sure to use the right path to the
Brotli decoder library with both pkg-config and find_package().
* CMakeLists.txt: Tell pkg-config to look for "Brotly_Decode" and then,
similarly to the OpenSSL case, set variables that are compatible
with the results of the FindBrotli.cmake script. Use the library
path instead of the imported target in CheckFunciton().
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1931031 13f79535-47bb-0310-9956-ffa450edef681 parent c542a6e commit b63c1bb
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
| 283 | + | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
289 | 293 | | |
290 | 294 | | |
291 | 295 | | |
| |||
396 | 400 | | |
397 | 401 | | |
398 | 402 | | |
399 | | - | |
| 403 | + | |
400 | 404 | | |
401 | 405 | | |
402 | 406 | | |
| |||
0 commit comments