summaryrefslogtreecommitdiff
path: root/Source/cmake/OptionsQt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake/OptionsQt.cmake')
-rw-r--r--Source/cmake/OptionsQt.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake/OptionsQt.cmake b/Source/cmake/OptionsQt.cmake
index 83ff1ceb6..28b38fbf5 100644
--- a/Source/cmake/OptionsQt.cmake
+++ b/Source/cmake/OptionsQt.cmake
@@ -139,7 +139,7 @@ macro(QTWEBKIT_GENERATE_MOC_FILES_H _target)
endmacro()
macro(QTWEBKIT_SEPARATE_DEBUG_INFO _target _target_debug)
- if (UNIX AND NOT APPLE)
+ if (MINGW OR UNIX AND NOT APPLE) # Not using COMPILER_IS_GCC_OR_CLANG because other ELF compilers may work as well
if (NOT CMAKE_OBJCOPY)
message(WARNING "CMAKE_OBJCOPY is not defined - debug information will not be split")
else ()