# Set various CMAKE_* variables to the same as parent
set(CMAKE_MODULE_PATH @CMAKE_MODULE_PATH@)
set(CMAKE_FIND_LIBRARY_PREFIXES @CMAKE_FIND_LIBRARY_PREFIXES@)
set(CMAKE_FIND_LIBRARY_SUFFIXES @CMAKE_FIND_LIBRARY_SUFFIXES@)
set(CMAKE_PREFIX_PATH @CMAKE_PREFIX_PATH@)
set(CMAKE_APPBUNDLE_PATH @CMAKE_APPBUNDLE_PATH@)
set(CMAKE_FRAMEWORK_PATH @CMAKE_FRAMEWORK_PATH@)
set(CMAKE_SYSTEM_PREFIX_PATH @CMAKE_SYSTEM_PREFIX_PATH@)
set(CMAKE_SYSTEM_APPBUNDLE_PATH @CMAKE_SYSTEM_APPBUNDLE_PATH@)
set(CMAKE_SYSTEM_FRAMEWORK_PATH @CMAKE_SYSTEM_FRAMEWORK_PATH@)
set(CMAKE_LIBRARY_ARCHITECTURE @CMAKE_LIBRARY_ARCHITECTURE@)
set(CMAKE_FIND_ROOT_PATH @CMAKE_FIND_ROOT_PATH@)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM @CMAKE_FIND_ROOT_PATH_MODE_PROGRAM@)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY @CMAKE_FIND_ROOT_PATH_MODE_LIBRARY@)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE @CMAKE_FIND_ROOT_PATH_MODE_INCLUDE@)

if(NOT "@_ct_ROOT_HINT_VAR@ " STREQUAL " ")
  set(@_ct_ROOT_HINT_VAR@ @_ct_INSTALL_DIR@)
endif()

find_package(@_FIND_PACKAGE_ARGS@)
if(NOT @_ct_FOUND_VAR@)
  message(FATAL_ERROR "@_ct_PACKAGE@ not found")
endif()
