ports/misc/open62541/patches/patch-CMakeLists_txt

14 lines
482 B
Text

Move examples to the right place.
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -1720,7 +1720,7 @@ if(UA_PACK_DEBIAN)
"examples/nodeset"
"examples/pubsub")
- set(open62541_install_examples_dir share/open62541/examples)
+ set(open62541_install_examples_dir share/examples/open62541)
install(DIRECTORY ${UA_install_examples_dirs} COMPONENT examples DESTINATION ${open62541_install_examples_dir} USE_SOURCE_PERMISSIONS)
endif()