Commit 7e348558 authored by David Faure's avatar David Faure Committed by Laurent Montel
Browse files

Make the QtWebEngine dependency optional

Useful for an ASAN build in order to work on one resource,
without the need to build QtWebEngine with ASAN.
parent ea72626d
Pipeline #115396 passed with stage
in 13 minutes and 57 seconds
......@@ -105,8 +105,8 @@ set_package_properties(Qt5TextToSpeech PROPERTIES DESCRIPTION
if(Qt5TextToSpeech_FOUND)
set(HAVE_TEXT_TO_SPEECH_SUPPORT TRUE)
endif()
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Network Widgets Test XmlPatterns DBus WebEngineWidgets NetworkAuth)
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Network Widgets Test XmlPatterns DBus NetworkAuth)
find_package(Qt5WebEngineWidgets ${QT_REQUIRED_VERSION} CONFIG)
# KF5 package
find_package(KF5Config ${KF5_MIN_VERSION} CONFIG REQUIRED)
......
......@@ -73,5 +73,7 @@ add_subdirectory( vcarddir )
add_subdirectory( icaldir )
add_subdirectory( vcard )
add_subdirectory( folderarchivesettings )
if (Qt5WebEngineWidgets_FOUND)
add_subdirectory( tomboynotes )
add_subdirectory( ews )
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment