Warning, /plasma/plasma-workspace/runners/bookmarks/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 ########### next target ###############
0002 #set(EXTERNAL_LIBS KIOCore Qt::Script KF5::Plasma Qt::Sql)
0003 
0004 add_definitions(-DTRANSLATION_DOMAIN=\"plasma_runner_bookmarksrunner\")
0005 
0006 find_package(Qt${QT_MAJOR_VERSION} CONFIG REQUIRED COMPONENTS Sql)
0007 
0008 set(krunner_bookmarks_common_SRCS
0009     bookmarkmatch.cpp
0010     faviconfromblob.cpp
0011     favicon.cpp
0012     fetchsqlite.cpp
0013     browsers/chromefindprofile.cpp
0014     browsers/chrome.cpp
0015     browsers/firefox.cpp
0016     browsers/konqueror.cpp
0017     browsers/opera.cpp
0018     browsers/falkon.cpp
0019 )
0020 
0021 ecm_qt_declare_logging_category(krunner_bookmarks_common_SRCS
0022     HEADER bookmarks_debug.h
0023     IDENTIFIER RUNNER_BOOKMARKS
0024     CATEGORY_NAME org.kde.plasma.runner.bookmarks
0025     DEFAULT_SEVERITY Warning
0026 )
0027 
0028 add_library(krunner_bookmarks_common STATIC ${krunner_bookmarks_common_SRCS})
0029 target_link_libraries(krunner_bookmarks_common
0030     Qt::Sql
0031     KF5::KIOCore
0032     KF5::KIOGui
0033     KF5::I18n
0034     KF5::Runner
0035     KF5::Bookmarks
0036 )
0037 
0038 set_property(TARGET krunner_bookmarks_common PROPERTY POSITION_INDEPENDENT_CODE ON)
0039 
0040 kcoreaddons_add_plugin(krunner_bookmarksrunner SOURCES bookmarksrunner.cpp browserfactory.cpp INSTALL_NAMESPACE "kf${QT_MAJOR_VERSION}/krunner")
0041 target_link_libraries(krunner_bookmarksrunner krunner_bookmarks_common)
0042 
0043 # Currently tests include only chrome, so no need to get include them if json is not found
0044 if(BUILD_TESTING)
0045    add_subdirectory(autotests)
0046 endif()