2015-01-24 20:21:26 +03:00
|
|
|
# - Config file for the yaml-cpp package
|
|
|
|
|
# It defines the following variables
|
|
|
|
|
# YAML_CPP_INCLUDE_DIR - include directory
|
|
|
|
|
# YAML_CPP_LIBRARIES - libraries to link against
|
|
|
|
|
|
|
|
|
|
# Compute paths
|
|
|
|
|
get_filename_component(YAML_CPP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
|
|
|
set(YAML_CPP_INCLUDE_DIR "@CONFIG_INCLUDE_DIRS@")
|
2017-03-12 15:45:51 +03:00
|
|
|
get_filename_component(YAML_CPP_INCLUDE_DIR "${YAML_CPP_INCLUDE_DIR}" REALPATH)
|
2015-01-24 20:21:26 +03:00
|
|
|
|
|
|
|
|
# Our library dependencies (contains definitions for IMPORTED targets)
|
|
|
|
|
include("${YAML_CPP_CMAKE_DIR}/yaml-cpp-targets.cmake")
|
2017-03-12 15:45:51 +03:00
|
|
|
if(TARGET yaml-cpp)
|
|
|
|
|
set_property(TARGET yaml-cpp APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
|
|
|
"${YAML_CPP_INCLUDE_DIR}"
|
|
|
|
|
)
|
|
|
|
|
endif()
|
2015-01-24 20:21:26 +03:00
|
|
|
|
|
|
|
|
# These are IMPORTED targets created by yaml-cpp-targets.cmake
|
|
|
|
|
set(YAML_CPP_LIBRARIES "@EXPORT_TARGETS@")
|