summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/AppleSilicon/default-target-x86_64.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/AppleSilicon/default-target-x86_64.cmake')
-rw-r--r--Tests/RunCMake/AppleSilicon/default-target-x86_64.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/AppleSilicon/default-target-x86_64.cmake b/Tests/RunCMake/AppleSilicon/default-target-x86_64.cmake
new file mode 100644
index 0000000000..ded46b7968
--- /dev/null
+++ b/Tests/RunCMake/AppleSilicon/default-target-x86_64.cmake
@@ -0,0 +1,5 @@
+enable_language(C)
+if(NOT CMAKE_OSX_ARCHITECTURES STREQUAL "")
+ message(FATAL_ERROR "CMAKE_OSX_ARCHITECTURES is '${CMAKE_OSX_ARCHITECTURES}', not empty ''")
+endif()
+add_library(x86_64 x86_64.c)