diff options
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake index a2d917005..37f7ef452 100644 --- a/configure.cmake +++ b/configure.cmake @@ -330,7 +330,7 @@ endif() assertTargets(webEngineError webEngineSupport Gui Widgets OpenGL OpenGLWidgets Quick Qml) add_check_for_support(webEngineError webEngineSupport MODULE QtWebEngine - CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR (MACOS AND NOT MAC_ARM_64) + CONDITION (LINUX AND NOT CMAKE_CROSSCOMPILING) OR (WIN32 AND NOT WIN_ARM_64) OR (MACOS AND NOT MAC_ARM_64) MESSAGE "Build can be done only on Linux, Windows or macOS." ) add_check_for_support(webEngineError webEngineSupport |