blob: 3319e07186d9ae620bc21d986115d339a60ccdee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
set(DNSLITE_VERSION @VERSION@)
@PACKAGE_INIT@
message(STATUS "dnslite version: ${DNSLITE_VERSION}")
set(supported_components Core)
foreach(comp ${dnslite_FIND_COMPONENTS})
if(NOT comp IN_LIST supported_components)
set(dnslite_FOUND False)
set(dnslite_NOT_FOUND_MESSAGE "Unsupported component: ${comp}")
endif()
message(STATUS "- component: ${comp}")
include("${CMAKE_CURRENT_LIST_DIR}/dnslite${comp}.cmake")
set(dnslite_${comp}_FOUND TRUE)
endforeach()
check_required_components(dnslite)
|