From 5d306f7ebd8430060e3a41857bee0f8202ecde5a Mon Sep 17 00:00:00 2001 From: SunBlack Date: Mon, 31 Aug 2026 13:01:33 +0200 Subject: [PATCH] Implement utf8cpp dependency check for EBML Added a dependency check for utf8cpp when shared libraries are not built. --- EBMLConfig.cmake.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/EBMLConfig.cmake.in b/EBMLConfig.cmake.in index f7c5071c..668aa2f4 100644 --- a/EBMLConfig.cmake.in +++ b/EBMLConfig.cmake.in @@ -2,4 +2,9 @@ include(${CMAKE_CURRENT_LIST_DIR}/EBMLTargets.cmake) +include(CMakeFindDependencyMacro) +if(NOT @BUILD_SHARED_LIBS@) + find_dependency(utf8cpp REQUIRED) +endif() + check_required_components(EBML)