1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-22 10:55:38 +01:00
tomahawk/CMakeModules/FindQJSON.cmake

30 lines
631 B
CMake
Raw Normal View History

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
#
find_library (QJSON_LIBRARIES
2011-02-22 02:07:17 +01:00
NAMES
qjson
PATHS
${QJSON_LIBRARY_DIRS}
${LIB_INSTALL_DIR}
${KDE4_LIB_DIR}
)
2011-02-22 02:07:17 +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}
)
2011-02-22 02:07:17 +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