summaryrefslogtreecommitdiff
path: root/functions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'functions.cmake')
-rw-r--r--functions.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.cmake b/functions.cmake
index bac20e8bc6..e1a9abb469 100644
--- a/functions.cmake
+++ b/functions.cmake
@@ -1,6 +1,8 @@
function(clr_unknown_arch)
if (WIN32)
message(FATAL_ERROR "Only AMD64, ARM64, ARM and I386 are supported")
+ elseif(CLR_CROSS_COMPONENTS_BUILD)
+ message(FATAL_ERROR "Only AMD64, I386 are supported for cross-architecture component")
else()
message(FATAL_ERROR "Only AMD64, ARM64 and ARM are supported")
endif()