From cbe0a6f058968ab499e3e638d3f14e6a73e72b56 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Tue, 22 Sep 2020 13:41:47 +1000
Subject: Fix for Haiku


diff --git a/plugins/appwizard/CMakeLists.txt b/plugins/appwizard/CMakeLists.txt
index 3f4d4c5..a77ad88 100644
--- a/plugins/appwizard/CMakeLists.txt
+++ b/plugins/appwizard/CMakeLists.txt
@@ -24,7 +24,7 @@ declare_qt_logging_category(kdevappwizard_PART_SRCS
 
 ki18n_wrap_ui(kdevappwizard_PART_SRCS ${kdevappwizard_PART_UI})
 
-if(NOT KF5_VERSION VERSION_LESS "5.57.0")
+if(NOT KF5_VERSION VERSION_LESS "5.57.0" AND NOT HAIKU)
 install(FILES kdevappwizard.knsrc  DESTINATION ${KDE_INSTALL_KNSRCDIR})
 else()
 qt5_add_resources(kdevappwizard_PART_SRCS kdevappwizardknsrc.qrc)
diff --git a/plugins/filetemplates/CMakeLists.txt b/plugins/filetemplates/CMakeLists.txt
index c3cf1b4..dbd9fd5 100644
--- a/plugins/filetemplates/CMakeLists.txt
+++ b/plugins/filetemplates/CMakeLists.txt
@@ -33,7 +33,7 @@ ki18n_wrap_ui(kdevfiletemplates_PART_SRCS
     ui/testcases.ui
 )
 
-if(NOT KF5_VERSION VERSION_LESS "5.57.0")
+if(NOT KF5_VERSION VERSION_LESS "5.57.0" AND NOT HAIKU)
 install(FILES kdevfiletemplates.knsrc  DESTINATION ${KDE_INSTALL_KNSRCDIR})
 else()
 qt5_add_resources(kdevfiletemplates_PART_SRCS kdevfiletemplatesknsrc.qrc)
diff --git a/plugins/qthelp/CMakeLists.txt b/plugins/qthelp/CMakeLists.txt
index a0b4918..46809a1 100644
--- a/plugins/qthelp/CMakeLists.txt
+++ b/plugins/qthelp/CMakeLists.txt
@@ -22,7 +22,7 @@ ki18n_wrap_ui(kdevqthelp_SRCS
     qthelpconfigeditdialog.ui
 )
 
-if(NOT KF5_VERSION VERSION_LESS "5.57.0")
+if(NOT KF5_VERSION VERSION_LESS "5.57.0" AND NOT HAIKU)
 install(FILES kdevelop-qthelp.knsrc  DESTINATION ${KDE_INSTALL_KNSRCDIR})
 else()
 qt5_add_resources(kdevqthelp_SRCS kdevqthelp.qrc)
-- 
2.28.0

