summaryrefslogtreecommitdiff
path: root/cmake/ReadFile.cmake
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-07-15 22:55:02 -0400
committerAdam <Adam@anope.org>2010-07-15 22:55:02 -0400
commita22f8d3b2de88b9bb6f80f0c2780846ae23ab389 (patch)
treea2fdf570868896a787df8a1169951b0028e68d6b /cmake/ReadFile.cmake
parent43b1e43afb85639485e36d24da351dc0f121be6e (diff)
Moved some files and diretories around, made cmake skip files it knows it can't compile because of missing dependices.
Diffstat (limited to 'cmake/ReadFile.cmake')
-rw-r--r--cmake/ReadFile.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/ReadFile.cmake b/cmake/ReadFile.cmake
new file mode 100644
index 000000000..be60f1fa7
--- /dev/null
+++ b/cmake/ReadFile.cmake
@@ -0,0 +1,5 @@
+# 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}")