Lines 23-29
if (NOT WIN32)
Link Here
|
23 |
# in the find_path() and find_library() calls |
23 |
# in the find_path() and find_library() calls |
24 |
find_package(PkgConfig) |
24 |
find_package(PkgConfig) |
25 |
if (FARSTREAM_MIN_VERSION) |
25 |
if (FARSTREAM_MIN_VERSION) |
26 |
PKG_CHECK_MODULES(PC_FARSTREAM farstream-0.1>=${FARSTREAM_MIN_VERSION}) |
26 |
PKG_CHECK_MODULES(PC_FARSTREAM farstream-0.2>=${FARSTREAM_MIN_VERSION}) |
27 |
else (FARSTREAM_MIN_VERSION) |
27 |
else (FARSTREAM_MIN_VERSION) |
28 |
PKG_CHECK_MODULES(PC_FARSTREAM farstream-0.1) |
28 |
PKG_CHECK_MODULES(PC_FARSTREAM farstream-0.1) |
29 |
endif (FARSTREAM_MIN_VERSION) |
29 |
endif (FARSTREAM_MIN_VERSION) |
Lines 34-43
find_path(FARSTREAM_INCLUDE_DIR farstrea
Link Here
|
34 |
PATHS |
34 |
PATHS |
35 |
${PC_FARSTREAM_INCLUDEDIR} |
35 |
${PC_FARSTREAM_INCLUDEDIR} |
36 |
${PC_FARSTREAM_INCLUDE_DIRS} |
36 |
${PC_FARSTREAM_INCLUDE_DIRS} |
37 |
PATH_SUFFIXES farstream-0.1 |
37 |
PATH_SUFFIXES farstream-0.2 |
38 |
) |
38 |
) |
39 |
|
39 |
|
40 |
find_library(FARSTREAM_LIBRARIES NAMES farstream-0.1 |
40 |
find_library(FARSTREAM_LIBRARIES NAMES farstream-0.2 |
41 |
PATHS |
41 |
PATHS |
42 |
${PC_FARSTREAM_LIBDIR} |
42 |
${PC_FARSTREAM_LIBDIR} |
43 |
${PC_FARSTREAM_LIBRARY_DIRS} |
43 |
${PC_FARSTREAM_LIBRARY_DIRS} |