From 95c8fd44365a188c173283c4995baee12c245ec5 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Sun, 10 Nov 2024 10:41:45 -0500 Subject: [PATCH] bring back YOMM2Config.cmake - another attempt --- YOMM2Config.cmake => cmake/YOMM2Config.cmake.in | 4 ++++ 1 file changed, 4 insertions(+) rename YOMM2Config.cmake => cmake/YOMM2Config.cmake.in (65%) diff --git a/YOMM2Config.cmake b/cmake/YOMM2Config.cmake.in similarity index 65% rename from YOMM2Config.cmake rename to cmake/YOMM2Config.cmake.in index 4ebad50c..f9380669 100644 --- a/YOMM2Config.cmake +++ b/cmake/YOMM2Config.cmake.in @@ -1,7 +1,11 @@ +@PACKAGE_INIT@ + include(CMakeFindDependencyMacro) +# Tell library users about the Boost dependency find_dependency(Boost 1.74... REQUIRED) +# Add the targets file include("${CMAKE_CURRENT_LIST_DIR}/YOMM2Targets.cmake") check_required_components(YOMM2)