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

Don't generate when we are not in webengine support

parent 2ee4cae9
...@@ -108,22 +108,24 @@ install(TARGETS akregator_config_advanced DESTINATION ${KDE_INSTALL_PLUGINDIR}) ...@@ -108,22 +108,24 @@ install(TARGETS akregator_config_advanced DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ############### ########### next target ###############
if (NOT QTWEBENGINE_SUPPORT_OPTION)
set(kcm_akradblockconfig_SRCS set(kcm_akradblockconfig_SRCS
akregator_config_adblock.cpp akregator_config_adblock.cpp
) )
add_library(akregator_config_adblock MODULE ${kcm_akradblockconfig_SRCS}) add_library(akregator_config_adblock MODULE ${kcm_akradblockconfig_SRCS})
target_link_libraries(akregator_config_adblock target_link_libraries(akregator_config_adblock
akregatorinterfaces akregatorinterfaces
KF5::KCMUtils KF5::KCMUtils
KF5::I18n KF5::I18n
KF5::MessageViewer KF5::MessageViewer
KF5::ItemViews KF5::ItemViews
KF5::IconThemes KF5::IconThemes
) )
kcoreaddons_desktop_to_json(akregator_config_adblock akregator_config_adblock.desktop DEFAULT_SERVICE_TYPE) kcoreaddons_desktop_to_json(akregator_config_adblock akregator_config_adblock.desktop DEFAULT_SERVICE_TYPE)
install(FILES akregator_config_adblock.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) install(FILES akregator_config_adblock.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS akregator_config_adblock DESTINATION ${KDE_INSTALL_PLUGINDIR}) install(TARGETS akregator_config_adblock DESTINATION ${KDE_INSTALL_PLUGINDIR})
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