From bdff7fc4fbf039688010eeac7a2860d841fc2d1f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 25 Jan 2020 01:51:23 +0300 Subject: boost/cmake: specify Windows explicitly in toolchains --- cmake/toolchains/mingw-w64-x64.cmake | 1 + cmake/toolchains/mingw-w64-x86.cmake | 1 + 2 files changed, 2 insertions(+) (limited to 'cmake') diff --git a/cmake/toolchains/mingw-w64-x64.cmake b/cmake/toolchains/mingw-w64-x64.cmake index 6009edf..c689d39 100644 --- a/cmake/toolchains/mingw-w64-x64.cmake +++ b/cmake/toolchains/mingw-w64-x64.cmake @@ -1,3 +1,4 @@ set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++) set(CMAKE_RC_COMILER x86_64-w64-mingw32-windres) +set(CMAKE_SYSTEM_NAME Windows) 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) -- cgit v1.2.3