Commit 866c63dc authored by Àlex Fiestas's avatar Àlex Fiestas
Browse files

[kalarmcal] Port CMake to KF5

parent 21a49e55
project(kalarmcal)
find_package(Qt5 NO_MODULE REQUIRED COMPONENTS Sql)
find_package(KF5 NO_MODULE REQUIRED COMPONENTS CoreAddons ItemViews)
# The library version should be the same as that returned by
# KAEvent::currentCalendarVersion() (see kaevent.cpp)
set(LIB_VERSION 2.7.0)
......@@ -62,9 +65,7 @@ if(USE_KRESOURCES)
kcal
kholidays
kpimidentities
${KDE4_KDECORE_LIBS}
${QT_QTGUI_LIBRARY}
${QT_QTCORE_LIBRARY}
KF5::CoreAddons
)
else()
target_link_libraries(kalarmcal
......@@ -72,9 +73,7 @@ else()
kcalcore
kholidays
kpimidentities
${KDE4_KDECORE_LIBS}
${QT_QTGUI_LIBRARY}
${QT_QTCORE_LIBRARY}
KF5::CoreAddons
)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment