Explorar o código

ExternalData: Show example network path URL template

In the ExternalData_URL_TEMPLATES example, add an entry showing how to
use the "file://" protocol with a network filesystem path.
Brad King %!s(int64=12) %!d(string=hai) anos
pai
achega
f3883f366d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Modules/ExternalData.cmake

+ 1 - 0
Modules/ExternalData.cmake

@@ -84,6 +84,7 @@
 #
 #  include(ExternalData)
 #  set(ExternalData_URL_TEMPLATES "file:///local/%(algo)/%(hash)"
+#                                 "file:////host/share/%(algo)/%(hash)"
 #                                 "http://data.org/%(algo)/%(hash)")
 #  ExternalData_Add_Test(MyData
 #    NAME MyTest