diff options
| author | Samuel Johnson <[email protected]> | 2025-10-09 02:24:13 -0400 |
|---|---|---|
| committer | Samuel Johnson <[email protected]> | 2025-10-09 02:24:13 -0400 |
| commit | 8518b3d1ac814837dbeed751112c1c9a66f86565 (patch) | |
| tree | be574974a534a5333a2e4aec3d9675d4eae42ced /cmake | |
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/dnslite.pc.in | 0 | ||||
| -rw-r--r-- | cmake/dnsliteConfig.cmake.in | 19 |
2 files changed, 19 insertions, 0 deletions
diff --git a/cmake/dnslite.pc.in b/cmake/dnslite.pc.in new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/cmake/dnslite.pc.in diff --git a/cmake/dnsliteConfig.cmake.in b/cmake/dnsliteConfig.cmake.in new file mode 100644 index 0000000..3319e07 --- /dev/null +++ b/cmake/dnsliteConfig.cmake.in @@ -0,0 +1,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) |
