Changeset View
Changeset View
Standalone View
Standalone View
plugins/qthelp/CMakeLists.txt
Show All 22 Lines | |||||
23 | ) | 23 | ) | ||
24 | 24 | | |||
25 | qt5_add_resources(kdevqthelp_SRCS kdevqthelp.qrc) | 25 | qt5_add_resources(kdevqthelp_SRCS kdevqthelp.qrc) | ||
26 | kdevplatform_add_plugin(kdevqthelp JSON kdevqthelp.json SOURCES ${kdevqthelp_SRCS}) | 26 | kdevplatform_add_plugin(kdevqthelp JSON kdevqthelp.json SOURCES ${kdevqthelp_SRCS}) | ||
27 | target_link_libraries(kdevqthelp | 27 | target_link_libraries(kdevqthelp | ||
28 | KF5::KCMUtils KF5::I18n KF5::KIOWidgets KF5::TextEditor KF5::IconThemes Qt5::Help KF5::NewStuff | 28 | KF5::KCMUtils KF5::I18n KF5::KIOWidgets KF5::TextEditor KF5::IconThemes Qt5::Help KF5::NewStuff | ||
29 | KDev::Language KDev::Documentation KDev::Interfaces) | 29 | KDev::Language KDev::Documentation KDev::Interfaces) | ||
30 | 30 | | |||
31 | if(KDEVELOP_USE_QTEXTBROWSER) | ||||
32 | message(STATUS "QtHelp plugin will be built for rendering using QTextBrowser") | ||||
33 | target_compile_definitions(kdevqthelp PRIVATE -DUSE_QTEXTBROWSER) | ||||
34 | endif() | ||||
35 | | ||||
31 | if(BUILD_TESTING) | 36 | if(BUILD_TESTING) | ||
32 | add_subdirectory(tests) | 37 | add_subdirectory(tests) | ||
33 | endif() | 38 | endif() |