Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
b3958a0a5acc1d8c72b270f83240601bb6d6b3f8
/
.
/
Tests
/
RunCMake
/
file-RPATH
/
TextCheckEmpty.cmake
blob: 806c73dae7a8b555b11fcddb82801bdb7ab88559 [
file
] [
log
] [
blame
]
set
(
f
"${CMAKE_CURRENT_BINARY_DIR}/not_a_binary.txt"
)
file
(
WRITE
"${f}"
"Not a binary.\n"
)
file
(
RPATH_CHECK FILE
"${f}"
RPATH
""
)
if
(
NOT EXISTS
"${f}"
)
message
(
FATAL_ERROR
"RPATH_CHECK removed\n ${f}\nfor empty RPATH"
)
endif
()