aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-02-27 05:48:23 -0600
committerBrent Cook <busterb@gmail.com>2023-02-27 05:48:23 -0600
commitb0310cb34e912d15340d02a179a81311325b4199 (patch)
treece2eedabfe9490442dcab492ffc10d225d9c4067 /scripts
parent703f430428609c8c6d5b42f82522080e1c60f0ff (diff)
downloadportable-b0310cb34e912d15340d02a179a81311325b4199.tar.gz
portable-b0310cb34e912d15340d02a179a81311325b4199.tar.bz2
portable-b0310cb34e912d15340d02a179a81311325b4199.zip
set CMAKE_SYSTEM_PROCESSOR when cross compiling
handle x86 as option for 32-bit x86 on Windows
Diffstat (limited to 'scripts')
-rw-r--r--scripts/i686-w64-mingw32.cmake1
-rw-r--r--scripts/x86_64-w64-mingw32.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/i686-w64-mingw32.cmake b/scripts/i686-w64-mingw32.cmake
index 58efd58..bad60db 100644
--- a/scripts/i686-w64-mingw32.cmake
+++ b/scripts/i686-w64-mingw32.cmake
@@ -1,4 +1,5 @@
1SET(CMAKE_SYSTEM_NAME Windows) 1SET(CMAKE_SYSTEM_NAME Windows)
2SET(CMAKE_SYSTEM_PROCESSOR i386)
2SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc) 3SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
3SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++) 4SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
4SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres) 5SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
diff --git a/scripts/x86_64-w64-mingw32.cmake b/scripts/x86_64-w64-mingw32.cmake
index c52b606..df65165 100644
--- a/scripts/x86_64-w64-mingw32.cmake
+++ b/scripts/x86_64-w64-mingw32.cmake
@@ -1,4 +1,5 @@
1SET(CMAKE_SYSTEM_NAME Windows) 1SET(CMAKE_SYSTEM_NAME Windows)
2SET(CMAKE_SYSTEM_PROCESSOR amd64)
2SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) 3SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
3SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++) 4SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
4SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres) 5SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)