summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file-RPATH/TextChangeEmpty.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/file-RPATH/TextChangeEmpty.cmake')
-rw-r--r--Tests/RunCMake/file-RPATH/TextChangeEmpty.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/file-RPATH/TextChangeEmpty.cmake b/Tests/RunCMake/file-RPATH/TextChangeEmpty.cmake
new file mode 100644
index 0000000..8f855d9
--- /dev/null
+++ b/Tests/RunCMake/file-RPATH/TextChangeEmpty.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 "")