# - p8-platform config mode
#
# Defines the following variables:
#  p8-platform_FOUND        - true
#  p8-platform_VERSION      - version of the platform library found, e.g. 0.2
#  p8-platform_INCLUDE_DIRS - header directories with which to compile
#  p8-platform_LINKER_FLAGS - flags that must be passed to the linker
#  p8-platform_LIBRARIES    - names of the libraries with which to link
#  p8-platform_LIBRARY_DIRS - directories in which the libraries are situated
#
# propagate these properties from one build system to the other
set (p8-platform_VERSION "@p8-platform_VERSION_MAJOR@.@p8-platform_VERSION_MINOR@")
set (p8-platform_INCLUDE_DIRS @p8-platform_INCLUDE_DIRS@ @CMAKE_INSTALL_PREFIX@/include)
set (p8-platform_LIBRARY_DIRS @CMAKE_INSTALL_PREFIX@/lib)
set (p8-platform_LINKER_FLAGS "@p8-platform_LINKER_FLAGS@")
set (p8-platform_CONFIG_VARS "@p8-platform_CONFIG_VARS@")

set (p8-platform_LIBRARY "-L@CMAKE_INSTALL_PREFIX@/lib -lp8-platform")
set (p8-platform_LIBRARIES ${p8-platform_LIBRARY} "@p8-platform_LIBRARIES@")
mark_as_advanced (p8-platform_LIBRARY)

# add the library as a target, so that other things in the project including
# this file may depend on it and get rebuild if this library changes.
#add_library (p8-platform UNKNOWN IMPORTED)
#set_property (TARGET p8-platform PROPERTY IMPORTED_LOCATION "${p8-platform_LIBRARY}")
