summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-03-29 01:59:50 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-03-29 01:59:50 (GMT)
commit4e3467e51737f10ca7386329d6ed844abd8e2697 (patch)
treef2df2e4fd8eb804e8d50d9d2d84aa2c572aacb57 /src
parent01342ca322b571152b0bd809ce294a47ab696f72 (diff)
downloadmxe-4e3467e51737f10ca7386329d6ed844abd8e2697.zip
mxe-4e3467e51737f10ca7386329d6ed844abd8e2697.tar.gz
mxe-4e3467e51737f10ca7386329d6ed844abd8e2697.tar.bz2
cmake toolchain: set CMAKE_SYSTEM_PROCESSOR as CACHE variable
Diffstat (limited to 'src')
-rw-r--r--src/cmake/conf/mxe-conf.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmake/conf/mxe-conf.cmake.in b/src/cmake/conf/mxe-conf.cmake.in
index 6341b32..b0ab092 100644
--- a/src/cmake/conf/mxe-conf.cmake.in
+++ b/src/cmake/conf/mxe-conf.cmake.in
@@ -24,7 +24,7 @@ endif()
## General configuration
set(CMAKE_SYSTEM_NAME Windows)
-set(CMAKE_SYSTEM_PROCESSOR @PROCESSOR@)
+set(CMAKE_SYSTEM_PROCESSOR @PROCESSOR@ CACHE STRING "System Processor")
set(MSYS 1)
set(CMAKE_EXPORT_NO_PACKAGE_REGISTRY ON)
# Workaround for https://www.cmake.org/Bug/view.php?id=14075