mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Cleanups, build if Qt5 is not on system
This commit is contained in:
parent
69bdccfd2f
commit
4ff39d8114
1 changed files with 2 additions and 3 deletions
|
@ -4,15 +4,14 @@ include (MacroLogFeature)
|
|||
option(BUILD_WITH_QT4 "Build with Qt4 no matter if Qt5 was found" OFF)
|
||||
|
||||
if( NOT BUILD_WITH_QT4 )
|
||||
find_package(Qt5Core REQUIRED)
|
||||
find_package(Qt5Core QUIET)
|
||||
if( Qt5Core_FOUND )
|
||||
message("Found Qt5 core, checking for further deps")
|
||||
message(STATUS "Found Qt5 core, checking for further dependencies...")
|
||||
find_package(Qt5Widgets REQUIRED)
|
||||
find_package(Qt5Quick REQUIRED)
|
||||
find_package(Qt5PrintSupport REQUIRED)
|
||||
find_package(Qt5WebKit REQUIRED)
|
||||
find_package(Qt5Network REQUIRED)
|
||||
find_package(Qt5Sensors REQUIRED)
|
||||
find_package(Qt5Xml REQUIRED)
|
||||
find_package(Qt5WebKitWidgets REQUIRED)
|
||||
if(APPLE)
|
||||
|
|
Loading…
Reference in a new issue