summaryrefslogtreecommitdiffstats
path: root/Tests/Module/ExternalData/MyScript1.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Module/ExternalData/MyScript1.cmake')
-rw-r--r--Tests/Module/ExternalData/MyScript1.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/Module/ExternalData/MyScript1.cmake b/Tests/Module/ExternalData/MyScript1.cmake
new file mode 100644
index 0000000..242c64d
--- /dev/null
+++ b/Tests/Module/ExternalData/MyScript1.cmake
@@ -0,0 +1,5 @@
+if(ExternalData_CUSTOM_LOCATION STREQUAL "MD5/fd95c03719e8626c0d10a818f9996dc5")
+ file(WRITE "${ExternalData_CUSTOM_FILE}" "DataScript")
+else()
+ set(ExternalData_CUSTOM_ERROR "no ${ExternalData_CUSTOM_LOCATION} known")
+endif()