2014-01-14 00:13:44 +08:00
|
|
|
# - Config file for the jansson package
|
2014-01-10 23:50:33 +08:00
|
|
|
# It defines the following variables
|
2014-01-14 00:13:44 +08:00
|
|
|
# JANSSON_INCLUDE_DIRS - include directories for FooBar
|
|
|
|
# JANSSON_LIBRARIES - libraries to link against
|
2014-01-10 23:50:33 +08:00
|
|
|
|
|
|
|
# Get the path of the current file.
|
|
|
|
get_filename_component(JANSSON_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
|
|
|
|
|
|
# Set the include directories.
|
|
|
|
set(JANSSON_INCLUDE_DIRS "@JANSSON__INCLUDE_DIRS@")
|
|
|
|
|
|
|
|
# Include the project Targets file, this contains definitions for IMPORTED targets.
|
|
|
|
include(${JANSSON_CMAKE_DIR}/JanssonTargets.cmake)
|
|
|
|
|
2014-01-14 00:13:44 +08:00
|
|
|
# IMPORTED targets from JanssonTargets.cmake
|
|
|
|
set(JANSSON_LIBRARIES jansson)
|
2014-01-10 23:50:33 +08:00
|
|
|
|