23 lines
681 B
CMake
23 lines
681 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
set(_void_external_deps "@VOID_EXTERNAL_DEPS_LIST@")
|
|
foreach(dep IN LISTS _void_external_deps)
|
|
if(dep STREQUAL "Boost")
|
|
find_dependency(Boost REQUIRED COMPONENTS stacktrace_backtrace)
|
|
elseif(NOT TARGET ${dep})
|
|
find_dependency(${dep})
|
|
endif()
|
|
endforeach()
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@EXPORT_SET_NAME@.cmake")
|
|
|
|
# Auto-load the testing helper so consumers get void_add_tests + the
|
|
# auto-scan sweep just by find_package(Void).
|
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/VoidTesting.cmake")
|
|
include("${CMAKE_CURRENT_LIST_DIR}/VoidTesting.cmake")
|
|
endif()
|
|
|
|
check_required_components("@PROJECT_NAME@")
|