We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d01c655 commit 37ce8dcCopy full SHA for 37ce8dc
cmake/GenerateConfig.cmake
@@ -1,5 +1,8 @@
1
-if(CMAKE_CROSSCOMPILING AND NOT DEFINED AB_NATIVE_ARCH_NAME)
2
- message(FATAL_ERROR "AB_NATIVE_ARCH_NAME must be defined when cross-compiling")
+if(CMAKE_CROSSCOMPILING)
+ if(NOT DEFINED AB_NATIVE_ARCH_NAME)
3
+ message(FATAL_ERROR "AB_NATIVE_ARCH_NAME must be defined when cross-compiling")
4
+ endif()
5
+ message(INFO "Autobuild native architecture name: ${AB_NATIVE_ARCH_NAME}")
6
else()
7
execute_process(
8
COMMAND dpkg --print-architecture
0 commit comments