diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-25 01:51:23 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-25 01:51:23 +0300 |
commit | bdff7fc4fbf039688010eeac7a2860d841fc2d1f (patch) | |
tree | 4b559755125e6c35ad83fc0a5892a5b3afa19df5 /cmake/toolchains | |
parent | support all 4 cmake default configurations (diff) | |
download | cmake-common-bdff7fc4fbf039688010eeac7a2860d841fc2d1f.tar.gz cmake-common-bdff7fc4fbf039688010eeac7a2860d841fc2d1f.zip |
boost/cmake: specify Windows explicitly in toolchains
Diffstat (limited to '')
-rw-r--r-- | cmake/toolchains/mingw-w64-x64.cmake | 1 | ||||
-rw-r--r-- | cmake/toolchains/mingw-w64-x86.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
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) |