mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 20:03:10 +00:00
26 lines
991 B
CMake
26 lines
991 B
CMake
macro_log_feature(QT_QTWEBKIT_FOUND "QtWebKit" "QtWebKit, for integrated documentation" "http://qt-project.org/" TRUE)
|
|
|
|
|
|
set(kdevplatformdocumentation_LIB_SRCS
|
|
standarddocumentationview.cpp
|
|
documentationfindwidget.cpp
|
|
documentationview.cpp
|
|
)
|
|
|
|
kde4_add_ui_files(kdevplatformdocumentation_LIB_SRCS documentationfindwidget.ui)
|
|
kde4_add_library(kdevplatformdocumentation SHARED ${kdevplatformdocumentation_LIB_SRCS})
|
|
|
|
install(TARGETS kdevplatformdocumentation EXPORT KDevPlatformTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
|
|
target_link_libraries(kdevplatformdocumentation
|
|
LINK_PRIVATE ${QT_QTWEBKIT_LIBRARY}
|
|
LINK_PUBLIC kdevplatforminterfaces)
|
|
|
|
set_target_properties(kdevplatformdocumentation PROPERTIES VERSION ${KDEVPLATFORM_LIB_VERSION} SOVERSION ${KDEVPLATFORM_LIB_SOVERSION})
|
|
|
|
install(FILES
|
|
documentationexport.h
|
|
documentationfindwidget.h
|
|
standarddocumentationview.h
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/documentation COMPONENT Devel
|
|
)
|