aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/toolchains/mingw-w64-x64.cmake1
-rw-r--r--cmake/toolchains/mingw-w64-x86.cmake1
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)