Warning, /education/marble/src/thumbnailer/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 project(MarbleThumbnailer) 0002 0003 find_package(ECM ${REQUIRED_ECM_VERSION} QUIET) 0004 if(NOT ECM_FOUND) 0005 return() 0006 endif() 0007 0008 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH}) 0009 include(KDEInstallDirs) 0010 0011 macro_optional_find_package(KF5 ${REQUIRED_KF5_MIN_VERSION} QUIET COMPONENTS KIO) 0012 0013 if (NOT KF5_FOUND) 0014 return() 0015 endif() 0016 0017 set(marblethumbnail_SRCS 0018 thumbnailer.cpp 0019 main.cpp 0020 ) 0021 add_library(marblethumbnail MODULE ${marblethumbnail_SRCS}) 0022 target_link_libraries(marblethumbnail 0023 marblewidget 0024 KF5::KIOWidgets 0025 ) 0026 install(TARGETS marblethumbnail DESTINATION ${KDE_INSTALL_PLUGINDIR})