diff --git a/cmake/omathConfig.cmake.in b/cmake/omathConfig.cmake.in index 6c0631d..1e3c774 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)