Skip to content
Snippets Groups Projects
Commit 3e754205 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add ugly cmake patcg to force installation of catch2 generated headers for plugins

parent 9d3382b5
No related branches found
No related tags found
No related merge requests found
......@@ -925,3 +925,13 @@ install(
FILES ${PUGS_BINARY_DIR}/cmake/PugsCompileFlags.cmake
DESTINATION lib/cmake/pugs
)
# Ugly patch to install user headers for Catch2 (for plugins)
install(
DIRECTORY
"${PUGS_BINARY_DIR}/packages/Catch2/generated-includes/catch2" # Also install the generated header
DESTINATION
"include"
FILES_MATCHING
PATTERN "*.hpp"
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment