~neon/kdesdk-thumbnailers/master

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Nicolas Fella
  • Date: 2023-11-04 20:35:19 UTC
  • Revision ID: git-v1:940b8aec0dcc656881d798e32563c8a26b1743ab
Make it build against KF6

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
project(kdesdk-thumbnailers VERSION ${RELEASE_SERVICE_VERSION})
11
11
 
12
12
set(QT_MIN_VERSION "5.15.2")
13
 
set(KF_MIN_VERSION "5.91.0")
 
13
set(KF_MIN_VERSION "5.100.0")
14
14
 
15
15
find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)
16
16
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH})
24
24
include(FeatureSummary)
25
25
 
26
26
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets)
27
 
find_package(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS Config I18n KIO)
 
27
find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS Config I18n KIO)
28
28
 
29
29
find_package(GettextPO)
30
30
set_package_properties("gettext-po"    PROPERTIES