Commit c224dfec authored by Laurent Montel's avatar Laurent Montel 😁

Rename variable

parent 51f17acf
......@@ -80,9 +80,9 @@ find_package(KF5PimCommon ${PIMCOMMON_LIB_VERSION} CONFIG REQUIRED)
option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branch, which are normally disabled. Also, it disables many components not needed for Kontact such as the Kolab client." FALSE)
option(QTWEBENGINE_EXPERIMENTAL_OPTION "Enable support for qtwebengine. False by default." FALSE)
option(QTWEBENGINE_SUPPORT_OPTION "Enable support for QtWebEngine. False by default." FALSE)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
set(QT_REQUIRED_MINIMUM_WEBENGINE_VERSION "5.6")
find_package(Qt5 ${QT_REQUIRED_MINIMUM_WEBENGINE_VERSION} CONFIG REQUIRED WebEngine WebEngineWidgets)
endif()
......
......@@ -37,7 +37,7 @@ if(BUILD_TESTING)
add_subdirectory(adblock/tests/)
add_subdirectory(adblock/common/autotests)
add_subdirectory(viewerplugins/tests/)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
add_subdirectory(webengine/tests)
add_subdirectory(viewer/webengine/autotests)
endif()
......@@ -83,7 +83,7 @@ set(libmessageviewer_mailviewer_SRCS
set(libmessageviewer_web_LIB KF5::WebKit Qt5::WebKitWidgets)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
set(libmessageviewer_mailviewer_SRCS
viewer/webengine/mailwebengineview.cpp
viewer/webengine/mailwebenginepage.cpp
......@@ -169,7 +169,7 @@ set(libmessageviewer_widgets_SRCS
widgets/zoomactionmenu.cpp
)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
set(libmessageviewer_widgets_webengine_SRCS
widgets/mailsourcewebengineviewer.cpp
)
......@@ -202,7 +202,7 @@ set(libmessageviewer_scamdetection_SRCS
scamdetection/scamcheckshorturlmanager.cpp
)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
set(libmessageviewer_scamdetection_webengine_SRCS
scamdetection/scamdetectionwebengine.cpp
)
......@@ -219,7 +219,7 @@ set(libmessageviewer_utils_SRCS
utils/messageviewerutil.cpp
)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
set(libmessageviewer_htmlwriter_webengine_SRCS
htmlwriter/webengineparthtmlwriter.cpp
)
......@@ -348,7 +348,7 @@ ecm_generate_headers(MessageViewer_Camelcasewebviewer_HEADERS
RELATIVE viewer/webview
)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
ecm_generate_headers(MessageViewer_Camelcasewebengine_HEADERS
HEADER_NAMES
MailWebEnginePage
......@@ -444,7 +444,7 @@ ecm_generate_headers(MessageViewer_Camelfindbar_HEADERS
RELATIVE findbar
)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
ecm_generate_headers(MessageViewer_CamelfindbarWebEngine_HEADERS
HEADER_NAMES
FindBarWebEngineView
......
......@@ -10,7 +10,7 @@ ecm_add_test(scamattributetest.cpp ../scamattribute.cpp
LINK_LIBRARIES Qt5::Test KF5::AkonadiCore
)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
ecm_add_test(scamdetectionwebenginetest.cpp
TEST_NAME scamdetectionwebenginetest
NAME_PREFIX "messageviewer-scamwebenginedetection-"
......
......@@ -14,7 +14,7 @@ target_link_libraries(scamdetection_gui
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
if (QTWEBENGINE_SUPPORT_OPTION)
set(scamdetectionwebengine_gui_SRCS scamdetectionwebengine_gui.cpp)
add_executable(scamdetectionwebengine_gui ${scamdetectionwebengine_gui_SRCS})
target_link_libraries(scamdetectionwebengine_gui
......
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