summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg-build-check.cmake
diff options
context:
space:
mode:
authorMarek Antoniak <kfazol@gmail.com>2019-05-30 14:11:10 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-03 14:17:17 (GMT)
commitfec441ec17d74b6444fad2a3e32a47dd19f1be5b (patch)
tree073dc1ab354485e4be0caba5730b83bad97a979f /Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg-build-check.cmake
parent3cb5a8d9b3add4394b12d61b5ce83ea6ca148fd1 (diff)
downloadCMake-fec441ec17d74b6444fad2a3e32a47dd19f1be5b.zip
CMake-fec441ec17d74b6444fad2a3e32a47dd19f1be5b.tar.gz
CMake-fec441ec17d74b6444fad2a3e32a47dd19f1be5b.tar.bz2
Teach CROSSCOMPILING_EMULATOR to support arguments
Fixes: #19321
Diffstat (limited to 'Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg-build-check.cmake')
-rw-r--r--Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg-build-check.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg-build-check.cmake b/Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg-build-check.cmake
new file mode 100644
index 0000000..9ca6106
--- /dev/null
+++ b/Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg-build-check.cmake
@@ -0,0 +1,3 @@
+if(NOT EXISTS "${RunCMake_TEST_BINARY_DIR}/output")
+ message(FATAL_ERROR "Failed to create output: ${RunCMake_TEST_BINARY_DIR}/output")
+endif()