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)