@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 url) elseif(dep STREQUAL "Sodium") find_dependency(PkgConfig REQUIRED) pkg_check_modules(SODIUM REQUIRED IMPORTED_TARGET libsodium) if(NOT TARGET Sodium::Sodium) add_library(Sodium::Sodium INTERFACE IMPORTED) set_property(TARGET Sodium::Sodium PROPERTY INTERFACE_LINK_LIBRARIES PkgConfig::SODIUM) endif() 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@")