Files
ports/devel/mrc/files/patch-CMakeLists.txt
T
2026-10-04 04:07:15 +00:00

16 lines
599 B
Plaintext

-- Install examples to share/examples/mrc instead of share/doc/mrc
-- so that the EXAMPLES option works correctly in the FreeBSD port.
-- The trailing slash on "examples/" installs directory contents
-- rather than the directory itself.
--
--- CMakeLists.txt.orig 2026-04-08 13:44:36 UTC
+++ CMakeLists.txt
@@ -110,6 +110,6 @@ endif()
install(FILES doc/mrc.1 DESTINATION share/man/man1)
endif()
-install(DIRECTORY examples DESTINATION share/doc/mrc PATTERN build EXCLUDE)
+install(DIRECTORY examples/ DESTINATION share/examples/mrc PATTERN build EXCLUDE)
# add_subdirectory(examples/simple)