Skip to content

Commit

Permalink
Use upstream extra cmake modules
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Jun 13, 2024
1 parent d787728 commit 5a775d1
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 1,068 deletions.
15 changes: 14 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,20 @@ if (NOT DEFINED PACKAGE)
set(PACKAGE "${LINUX_PACKAGE_SHORTNAME}-client")
endif()

set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
set(APPLE_SUPPRESS_X11_WARNING ON)

find_package(ECM 6.0.0 REQUIRED NO_MODULE)
set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules")

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})

include(KDEInstallDirs)
include(KDECMakeSettings)
include(ECMMarkNonGuiExecutable)
include(ECMSetupVersion)

#include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMEnableSanitizers)

include(ECMCoverageOption)

Expand Down
Empty file removed cmake/modules/DBusMacros.cmake
Empty file.
415 changes: 0 additions & 415 deletions cmake/modules/ECMAddAppIcon.cmake

This file was deleted.

29 changes: 0 additions & 29 deletions cmake/modules/ECMCoverageOption.cmake

This file was deleted.

169 changes: 0 additions & 169 deletions cmake/modules/ECMEnableSanitizers.cmake

This file was deleted.

Loading

0 comments on commit 5a775d1

Please sign in to comment.