summaryrefslogtreecommitdiff
path: root/ReadFile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ReadFile.cmake')
-rw-r--r--ReadFile.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/ReadFile.cmake b/ReadFile.cmake
new file mode 100644
index 000000000..205764d01
--- /dev/null
+++ b/ReadFile.cmake
@@ -0,0 +1,6 @@
+# This file is external to the read_from_file macro in Anope.cmake in order to
+# get around a possible memory leak in older versions of CMake.
+
+file(READ "${FILE}" RESULT)
+message("${RESULT}")
+