summaryrefslogtreecommitdiffstats
path: root/cmake/mxe.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/mxe.cmake')
-rw-r--r--cmake/mxe.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/mxe.cmake b/cmake/mxe.cmake
index 5502c1b..9bb38d0 100644
--- a/cmake/mxe.cmake
+++ b/cmake/mxe.cmake
@@ -4,6 +4,9 @@
if((${CMAKE_CROSSCOMPILING}) AND (DEFINED MSYS))
message(STATUS "Detected MXE build")
set(MXE 1)
+ set(PLATFORM_WINDOWS 1)
+ set(PLATFORM_LINUX 0)
+ set(PLATFORM_OTHER 0)
# Because some tests will not compile
set(TESTS OFF)
# All must be static, CBOT and GLEW too