summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2014-10-08 08:26:19 +0200
committerMontel Laurent <[email protected]>2014-10-08 08:26:19 +0200
commiteda42774deb11d913b706e7d0499ff4c5acfd2d0 (patch)
tree7cb6e6a8979ddd75bdb30ebbd333f0d4d95cf8f9
parent7b05fceb5bf258ee3dff2b910aeb1cc52e13b0f3 (diff)
Fix CMakelists.txt (fix extract messages etc.)
-rw-r--r--CMakeLists.txt1
-rw-r--r--app/icons/CMakeLists.txt2
-rw-r--r--kerfuffle/CMakeLists.txt2
-rw-r--r--part/CMakeLists.txt4
4 files changed, 5 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 11d36a1..82dca33 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,6 +17,7 @@ include(ECMSetupVersion)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings)
+include(ECMInstallIcons)
set(ARK_VERSION "4.80.0")
diff --git a/app/icons/CMakeLists.txt b/app/icons/CMakeLists.txt
index 02e3c9e..9d933fd 100644
--- a/app/icons/CMakeLists.txt
+++ b/app/icons/CMakeLists.txt
@@ -1 +1 @@
-kde4_install_icons(${ICON_INSTALL_DIR})
+ecm_install_icons(ICONS hi128-apps-ark.png hi16-apps-ark.png hi22-apps-ark.png hi32-apps-ark.png hi48-apps-ark.png hi64-apps-ark.png DESTINATION ${ICON_INSTALL_DIR})
diff --git a/kerfuffle/CMakeLists.txt b/kerfuffle/CMakeLists.txt
index f5c5a33..7c8f31e 100644
--- a/kerfuffle/CMakeLists.txt
+++ b/kerfuffle/CMakeLists.txt
@@ -16,7 +16,7 @@ set(kerfuffle_SRCS
kconfig_add_kcfg_files(kerfuffle_SRCS settings.kcfgc)
-qt5_wrap_ui(kerfuffle_SRCS extractiondialog.ui adddialog.ui )
+ki18n_wrap_ui(kerfuffle_SRCS extractiondialog.ui adddialog.ui )
add_library(kerfuffle SHARED ${kerfuffle_SRCS})
diff --git a/part/CMakeLists.txt b/part/CMakeLists.txt
index cca6d25..1e5a0d3 100644
--- a/part/CMakeLists.txt
+++ b/part/CMakeLists.txt
@@ -9,8 +9,8 @@ set(arkpart_PART_SRCS
qt5_add_dbus_adaptor(arkpart_PART_SRCS dnddbusinterface.xml part.h Ark::Part)
-qt5_wrap_ui(arkpart_PART_SRCS infopanel.ui )
-qt5_wrap_ui(arkpart_PART_SRCS jobtracker.ui )
+ki18n_wrap_ui(arkpart_PART_SRCS infopanel.ui )
+ki18n_wrap_ui(arkpart_PART_SRCS jobtracker.ui )
add_library(arkpart MODULE ${arkpart_PART_SRCS})