2011-02-22 02:07:17 +01:00
|
|
|
# Find QJSON - JSON handling library for Qt
|
|
|
|
#
|
|
|
|
# This module defines
|
|
|
|
# QJSON_FOUND - whether the qsjon library was found
|
|
|
|
# QJSON_LIBRARIES - the qjson library
|
|
|
|
# QJSON_INCLUDE_DIR - the include path of the qjson library
|
|
|
|
#
|
|
|
|
|
2013-01-05 16:41:06 +01:00
|
|
|
find_library (QJSON_LIBRARIES
|
2011-02-22 02:07:17 +01:00
|
|
|
NAMES
|
|
|
|
qjson
|
|
|
|
PATHS
|
|
|
|
${QJSON_LIBRARY_DIRS}
|
|
|
|
${LIB_INSTALL_DIR}
|
|
|
|
${KDE4_LIB_DIR}
|
2013-01-05 16:41:06 +01:00
|
|
|
)
|
2011-02-22 02:07:17 +01:00
|
|
|
|
2013-01-05 16:41:06 +01:00
|
|
|
find_path (QJSON_INCLUDE_DIR
|
2011-02-22 02:07:17 +01:00
|
|
|
NAMES
|
2013-01-09 19:33:41 +01:00
|
|
|
qjson/parser.h
|
2011-02-22 02:07:17 +01:00
|
|
|
PATHS
|
|
|
|
${QJSON_INCLUDE_DIRS}
|
|
|
|
${INCLUDE_INSTALL_DIR}
|
|
|
|
${KDE4_INCLUDE_DIR}
|
2013-01-05 16:41:06 +01:00
|
|
|
)
|
2011-02-22 02:07:17 +01:00
|
|
|
|
2013-01-05 16:41:06 +01:00
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(QJSON DEFAULT_MSG QJSON_LIBRARIES QJSON_INCLUDE_DIR)
|
2011-05-25 11:48:05 -04:00
|
|
|
|