Files
Library/cmake/VoidConfig.cmake.in
T
faumaray e7186f17f0 Testing module
Signed-off-by: faumaray <faumaray@gmail.com>
2026-04-29 22:49:33 +03:00

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@")