summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-12-30 14:03:43 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-30 14:04:46 -0600
commit59a9771ada3195d973cb50c2954c215736f0d8d7 (patch)
tree734249a94a8e5544ddb0145d768b3f5554df08c3 /scripts
parent575f7142c7200db91d8a3b953a89e78672b4862b (diff)
arch sometimes required for cmake cross-compiles
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toolchain.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/toolchain.cmake.in b/scripts/toolchain.cmake.in
index 8d9f82406..910382435 100644
--- a/scripts/toolchain.cmake.in
+++ b/scripts/toolchain.cmake.in
@@ -1,4 +1,5 @@
set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_SYSTEM_PROCESSOR @@TARGET_ARCH@@)
set(CMAKE_C_COMPILER @@TARGET_CC@@)
set(CMAKE_CXX_COMPILER @@TARGET_CXX@@)
set(CMAKE_SYSTEM_NAME Linux)