aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cmake/toolchains/mingw-w64-x86.cmake
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-25 01:51:23 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-25 01:51:23 +0300
commitbdff7fc4fbf039688010eeac7a2860d841fc2d1f (patch)
tree4b559755125e6c35ad83fc0a5892a5b3afa19df5 /cmake/toolchains/mingw-w64-x86.cmake
parentsupport all 4 cmake default configurations (diff)
downloadcmake-common-bdff7fc4fbf039688010eeac7a2860d841fc2d1f.tar.gz
cmake-common-bdff7fc4fbf039688010eeac7a2860d841fc2d1f.zip
boost/cmake: specify Windows explicitly in toolchains
Diffstat (limited to 'cmake/toolchains/mingw-w64-x86.cmake')
-rw-r--r--cmake/toolchains/mingw-w64-x86.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/toolchains/mingw-w64-x86.cmake b/cmake/toolchains/mingw-w64-x86.cmake
index b0c717f..e5dedd4 100644
--- a/cmake/toolchains/mingw-w64-x86.cmake
+++ b/cmake/toolchains/mingw-w64-x86.cmake
@@ -1,3 +1,4 @@
set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
set(CMAKE_RC_COMILER i686-w64-mingw32-windres)
+set(CMAKE_SYSTEM_NAME Windows)