2018-10-23 15:50:22 +00:00
|
|
|
set(CMAKE_SYSTEM_NAME Windows)
|
|
|
|
set(TOOLCHAIN_PREFIX i686-w64-mingw32)
|
2020-03-12 16:22:33 +00:00
|
|
|
set(TOOLCHAIN_SUFFIX "-posix")
|
2019-08-13 00:06:08 +00:00
|
|
|
set(WOW64_CROSS_COMPILE ON)
|
2020-02-13 22:46:21 +00:00
|
|
|
set(LIBSODIUM_CROSS_TARGET i686-w64-mingw32)
|
2018-10-23 15:50:22 +00:00
|
|
|
|
2019-08-13 00:06:08 +00:00
|
|
|
set(TOOLCHAIN_PATHS
|
|
|
|
/usr/${TOOLCHAIN_PREFIX}
|
|
|
|
/usr/local/opt/mingw-w64/toolchain-i686
|
|
|
|
/usr/local/opt/mingw-w64/toolchain-i686/i686-w64-mingw32
|
|
|
|
/opt/mingw32
|
|
|
|
/home/$ENV{USER}/mingw32
|
|
|
|
/home/$ENV{USER}/mingw32/${TOOLCHAIN_PREFIX}
|
|
|
|
)
|
2018-10-23 15:50:22 +00:00
|
|
|
|
2019-08-13 00:06:08 +00:00
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/mingw_core.cmake")
|