--- cmake/modules/FindQJSON.cmake 2010-09-26 13:39:06.922304826 +0200 +++ cmake/modules/FindQJSON.cmakemine 2010-09-26 13:39:58.985304829 +0200 @@ -17,14 +17,14 @@ # use pkg-config to get the values of QJSON_INCLUDE_DIRS # and QJSON_LIBRARY_DIRS to add as hints to the find commands. include (FindPkgConfig) - pkg_check_modules (QJSON QJson>=0.5) + pkg_check_modules (QJSONInternal QJson>=0.5) endif (NOT WIN32) find_library (QJSON_LIBRARIES NAMES qjson PATHS - ${QJSON_LIBRARY_DIRS} + ${QJSONInternal_LIBRARY_DIRS} ${LIB_INSTALL_DIR} ${KDE4_LIB_DIR} ) @@ -33,7 +33,7 @@ NAMES qjson/parser.h PATHS - ${QJSON_INCLUDE_DIRS} + ${QJSONInternal_INCLUDE_DIRS} ${INCLUDE_INSTALL_DIR} ${KDE4_INCLUDE_DIR} )