@PACKAGE_INIT@

set(PDAL_VERSION_MAJOR @PDAL_VERSION_MAJOR@)
set(PDAL_VERSION_MINOR @PDAL_VERSION_MINOR@)
set(PDAL_VERSION_PATCH @PDAL_VERSION_PATCH@)

set_and_check(PDAL_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(PDAL_LIBRARY_DIRS "@PACKAGE_LIB_INSTALL_DIR@")

include("${CMAKE_CURRENT_LIST_DIR}/pluginmacros.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/PDALTargets.cmake")

#
# Note: One should be able to just link libpdalcpp.so/dylib/lib.  But
#   I can't find a way to use @PDAL_LIB_NAME@ because it's not
#   an actual library that cmake knows about.  If you can figure this out,
#   a change would be nice.
#
set(PDAL_LIBRARIES @PDAL_LIB_NAME@)

check_required_components(PDAL)
