Warning, /games/kmuddy/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.16) 0002 0003 project(kmuddy) 0004 0005 find_package(ECM REQUIRED CONFIG) 0006 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR} ${ECM_MODULE_PATH}) 0007 0008 # temporary, cleaning the errors 0009 set(CMAKE_COMPILE_WARNING_AS_ERROR ON) 0010 0011 include(KDEInstallDirs) 0012 include(KDECompilerSettings NO_POLICY_SCOPE) 0013 include(KDECMakeSettings) 0014 include(FeatureSummary) 0015 include(ECMInstallIcons) 0016 0017 find_package(Qt5 REQUIRED COMPONENTS Core Gui Widgets Script Multimedia) 0018 find_package(KF5 REQUIRED COMPONENTS Config CoreAddons WidgetsAddons I18n KIO KCMUtils TextWidgets XmlGui Service IconThemes Archive Notifications) 0019 0020 find_package(MXP) 0021 if (MXP_FOUND) 0022 message(STATUS "Found the MXP library at " ${MXP_LIBRARIES}) 0023 set(HAVE_MXP TRUE) 0024 else (MXP_FOUND) 0025 message(STATUS "MXP library was NOT found.") 0026 endif (MXP_FOUND) 0027 0028 configure_file(config-mxp.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-mxp.h ) 0029 0030 #set(CMAKE_VERBOSE_MAKEFILE ON) 0031 0032 add_definitions(${QT_DEFINITIONS}) 0033 0034 #include(ConvenienceLibs.cmake) 0035 0036 # for config-*.h files 0037 include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) 0038 0039 add_subdirectory( libs ) 0040 add_subdirectory( kmuddy ) 0041 add_subdirectory( plugins ) 0042 add_subdirectory( scripting ) 0043 0044 0045 0046 ########### install files ############### 0047 0048 ki18n_install(po) 0049