summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-26 19:46:21 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-27 14:57:48 (GMT)
commit2b5447d4a8a35f58e97a42270202a5dad3277dc4 (patch)
tree01d420d15ff33a51aedd69743703a448772b001c /Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg.cmake
parent10f906106e7d05cfe7f4c0ea871ad8462df2f89c (diff)
downloadCMake-2b5447d4a8a35f58e97a42270202a5dad3277dc4.zip
CMake-2b5447d4a8a35f58e97a42270202a5dad3277dc4.tar.gz
CMake-2b5447d4a8a35f58e97a42270202a5dad3277dc4.tar.bz2
Tests: Shorten RunCMake.CrosscompilingEmulator executable names
Also switch to pure C.
Diffstat (limited to 'Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg.cmake')
-rw-r--r--Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg.cmake b/Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg.cmake
index d9059ca..be30dbc 100644
--- a/Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg.cmake
+++ b/Tests/RunCMake/CrosscompilingEmulator/AddCustomCommandWithArg.cmake
@@ -1,7 +1,8 @@
+enable_language(C)
set(CMAKE_CROSSCOMPILING 1)
# Executable: Return error code different from 0
-add_executable(generated_exe_emulator_expected simple_src_exiterror.cxx)
+add_executable(generated_exe_emulator_expected simple_src_exiterror.c)
add_custom_command(OUTPUT output
COMMAND generated_exe_emulator_expected