summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file-RPATH/TextChange.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/file-RPATH/TextChange.cmake')
-rw-r--r--Tests/RunCMake/file-RPATH/TextChange.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/file-RPATH/TextChange.cmake b/Tests/RunCMake/file-RPATH/TextChange.cmake
new file mode 100644
index 0000000..5c599ec
--- /dev/null
+++ b/Tests/RunCMake/file-RPATH/TextChange.cmake
@@ -0,0 +1,3 @@
+set(f "${CMAKE_CURRENT_BINARY_DIR}/not_a_binary.txt")
+file(WRITE "${f}" "Not a binary.\n")
+file(RPATH_CHANGE FILE "${f}" OLD_RPATH "/old/rpath" NEW_RPATH "/new/rpath")