summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalData_config.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-22 13:15:07 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-22 13:21:47 (GMT)
commit0de47b05f74bd12d41b46634f00aea3bcb6f3678 (patch)
treedc5e47bc19c61387a46d01fbf38f3999410ed7de /Modules/ExternalData_config.cmake.in
parent3541fc73a12a52f87a2faa9790a65651658162d8 (diff)
downloadCMake-0de47b05f74bd12d41b46634f00aea3bcb6f3678.zip
CMake-0de47b05f74bd12d41b46634f00aea3bcb6f3678.tar.gz
CMake-0de47b05f74bd12d41b46634f00aea3bcb6f3678.tar.bz2
ExternalData: Add option to disable use of symlinks
Add an ExternalData_NO_SYMLINKS to enable use of copies instead of symlinks to populate the real data files behind a DATA{} reference. This will be useful on UNIX-like systems when the underlying filesystem does not actually support symbolic links. Suggested-by: Matt McCormick <matt.mccormick@kitware.com>
Diffstat (limited to 'Modules/ExternalData_config.cmake.in')
-rw-r--r--Modules/ExternalData_config.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/ExternalData_config.cmake.in b/Modules/ExternalData_config.cmake.in
index 4434e4b..18be6b3 100644
--- a/Modules/ExternalData_config.cmake.in
+++ b/Modules/ExternalData_config.cmake.in
@@ -2,4 +2,5 @@ set(ExternalData_OBJECT_STORES "@ExternalData_OBJECT_STORES@")
set(ExternalData_URL_TEMPLATES "@ExternalData_URL_TEMPLATES@")
set(ExternalData_TIMEOUT_INACTIVITY "@ExternalData_TIMEOUT_INACTIVITY@")
set(ExternalData_TIMEOUT_ABSOLUTE "@ExternalData_TIMEOUT_ABSOLUTE@")
+set(ExternalData_NO_SYMLINKS "@ExternalData_NO_SYMLINKS@")
@_ExternalData_CONFIG_CODE@