@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_dependency(Threads)

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")

find_package(CAF COMPONENTS core io test REQUIRED QUIET)
@VAST_FIND_DEPENDENCY_LIST@

include("${CMAKE_CURRENT_LIST_DIR}/VASTTargets.cmake")

@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_dependency(Threads)

if (DEFINED CMAKE_MODULE_PATH)
  set(_CMAKE_MODULE_PATH_OLD ${CMAKE_MODULE_PATH})
endif ()
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")

find_package(CAF COMPONENTS core io test REQUIRED QUIET)
@VAST_FIND_DEPENDENCY_LIST@

if (DEFINED _CMAKE_MODULE_PATH_OLD)
  set(CMAKE_MODULE_PATH ${_CMAKE_MODULE_PATH_OLD})
  unset(_CMAKE_MODULE_PATH_OLD)
else ()
  unset(CMAKE_MODULE_PATH)
endif ()

include("${CMAKE_CURRENT_LIST_DIR}/VASTTargets.cmake")

Fix override of CMAKE_MODULE_PATH in VastConfig
Fix override of CMAKE_MODULE_PATH in VastConfig
