瀏覽代碼

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 12 年之前
父節點
當前提交
f3883f366d
共有 1 個文件被更改,包括 1 次插入0 次删除
  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