remove unneeded cmake switch

This commit is contained in:
wmayer
2018-04-22 21:22:36 +02:00
parent 33b883acb2
commit a4ae54f65a

View File

@@ -192,7 +192,6 @@ endif(MSVC)
# Switch to build FreeCAD with Qt5
OPTION(BUILD_QT5 "Build with Qt5." OFF)
OPTION(BUILD_QT5_WEBKIT "Build with Qt5." ON)
OPTION(BUILD_GUI "Build FreeCAD Gui. Otherwise you have only the command line and the Python import module." ON)
OPTION(FREECAD_MAINTAINERS_BUILD "Build FreeCAD for Maintainers, with Docu and 3rd party libs. On Windows the Installer is built." OFF)
OPTION(FREECAD_USE_EXTERNAL_ZIPIOS "Use system installed zipios++ instead of the bundled." OFF)
@@ -843,7 +842,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
find_package(Qt5UiTools)
find_package(Qt5Network)
find_package(Qt5Concurrent)
if (BUILD_QT5_WEBKIT)
if (BUILD_WEB)
find_package(Qt5WebKitWidgets)
endif()
endif(BUILD_GUI)