diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cfe238299..51442a6e4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -279,7 +279,11 @@ OPTION(BUILD_START "Build the FreeCAD start module" ON) OPTION(BUILD_TEST "Build the FreeCAD test module" ON) OPTION(BUILD_TECHDRAW "Build the FreeCAD Technical Drawing module" ON) OPTION(BUILD_TUX "Build the FreeCAD Tux module" ON) -OPTION(BUILD_WEB "Build the FreeCAD web module" ON) +if (BUILD_QT5) + OPTION(BUILD_WEB "Build the FreeCAD web module" OFF) +else() + OPTION(BUILD_WEB "Build the FreeCAD web module" ON) +endif() OPTION(BUILD_SURFACE "Build the FreeCAD surface module" ON) OPTION(BUILD_VR "Build the FreeCAD Oculus Rift support (need Oculus SDK 4.x or higher)" OFF)