Browse Source

Fix MXE detection check

Ivan Savenko 2 years ago
parent
commit
e78d6f9d70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -91,7 +91,7 @@ if(APPLE_IOS AND COPY_CONFIG_ON_BUILD)
 endif()
 
 # No QT Linguist on MXE
-if(${CMAKE_CROSSCOMPILING})
+if((MINGW) AND (${CMAKE_CROSSCOMPILING}))
 	set(ENABLE_TRANSLATIONS OFF)
 endif()