Lines 17-30
Link Here
|
17 |
# use pkg-config to get the values of QJSON_INCLUDE_DIRS |
17 |
# use pkg-config to get the values of QJSON_INCLUDE_DIRS |
18 |
# and QJSON_LIBRARY_DIRS to add as hints to the find commands. |
18 |
# and QJSON_LIBRARY_DIRS to add as hints to the find commands. |
19 |
include (FindPkgConfig) |
19 |
include (FindPkgConfig) |
20 |
pkg_check_modules (QJSON QJson>=0.5) |
20 |
pkg_check_modules (QJSONInternal QJson>=0.5) |
21 |
endif (NOT WIN32) |
21 |
endif (NOT WIN32) |
22 |
|
22 |
|
23 |
find_library (QJSON_LIBRARIES |
23 |
find_library (QJSON_LIBRARIES |
24 |
NAMES |
24 |
NAMES |
25 |
qjson |
25 |
qjson |
26 |
PATHS |
26 |
PATHS |
27 |
${QJSON_LIBRARY_DIRS} |
27 |
${QJSONInternal_LIBRARY_DIRS} |
28 |
${LIB_INSTALL_DIR} |
28 |
${LIB_INSTALL_DIR} |
29 |
${KDE4_LIB_DIR} |
29 |
${KDE4_LIB_DIR} |
30 |
) |
30 |
) |
Lines 33-39
Link Here
|
33 |
NAMES |
33 |
NAMES |
34 |
qjson/parser.h |
34 |
qjson/parser.h |
35 |
PATHS |
35 |
PATHS |
36 |
${QJSON_INCLUDE_DIRS} |
36 |
${QJSONInternal_INCLUDE_DIRS} |
37 |
${INCLUDE_INSTALL_DIR} |
37 |
${INCLUDE_INSTALL_DIR} |
38 |
${KDE4_INCLUDE_DIR} |
38 |
${KDE4_INCLUDE_DIR} |
39 |
) |
39 |
) |