From 333f68dfe2e20dea9bdde547e792e2482d018625 Mon Sep 17 00:00:00 2001 From: Mederic Fourmy <mederic.fourmy@gmail.com> Date: Wed, 27 Apr 2022 17:50:31 +0200 Subject: [PATCH] include CMakePackageConfigHelpers that is not included if tests are not built --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc79fde35..625406ac4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -453,6 +453,7 @@ install(EXPORT ${PLUGIN_NAME}Targets DESTINATION lib/${PLUGIN_NAME}/cmake) #Â Configure the package installation +include(CMakePackageConfigHelpers) configure_package_config_file( ${CMAKE_SOURCE_DIR}/cmake_modules/${PLUGIN_NAME}Config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}Config.cmake -- GitLab