Skip to content
Snippets Groups Projects
Commit 333f68df authored by Mederic Fourmy's avatar Mederic Fourmy
Browse files

include CMakePackageConfigHelpers that is not included if tests are not built

parent 724f0ccc
No related branches found
No related tags found
2 merge requests!451After cmake and const refactor,!445Resolve "Refactoring WOLF installation system"
Pipeline #10102 canceled
This commit is part of merge request !445. Comments created here will be created in the context of that merge request.
...@@ -453,6 +453,7 @@ install(EXPORT ${PLUGIN_NAME}Targets DESTINATION lib/${PLUGIN_NAME}/cmake) ...@@ -453,6 +453,7 @@ install(EXPORT ${PLUGIN_NAME}Targets DESTINATION lib/${PLUGIN_NAME}/cmake)
# Configure the package installation # Configure the package installation
include(CMakePackageConfigHelpers)
configure_package_config_file( configure_package_config_file(
${CMAKE_SOURCE_DIR}/cmake_modules/${PLUGIN_NAME}Config.cmake.in ${CMAKE_SOURCE_DIR}/cmake_modules/${PLUGIN_NAME}Config.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}Config.cmake ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}Config.cmake
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment