From 8241d9c355036c2089d736825d287b6bc577fe1e Mon Sep 17 00:00:00 2001 From: Saikari Date: Mon, 7 Jul 2025 04:53:56 +0300 Subject: [PATCH] Update omathConfig.cmake.in --- cmake/omathConfig.cmake.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/omathConfig.cmake.in b/cmake/omathConfig.cmake.in index 6c0631d6..1e3c774b 100644 --- a/cmake/omathConfig.cmake.in +++ b/cmake/omathConfig.cmake.in @@ -2,6 +2,10 @@ include(CMakeFindDependencyMacro) +if (@OMATH_IMGUI_INTEGRATION@) + find_dependency(imgui CONFIG) +endif() + # Load the targets for the omath library include("${CMAKE_CURRENT_LIST_DIR}/omathTargets.cmake") check_required_components(omath)