File 0001-Fix-installation-with-Qt6.patch of Package kstars
From 279bac06da6fc5c0d424ef320792739ea580bfcf Mon Sep 17 00:00:00 2001
From: Christophe Marin <christophe@krop.fr>
Date: Wed, 4 Jun 2025 14:27:47 +0200
Subject: [PATCH] Fix installation with Qt6
---
kstars/data/fr/CMakeLists.txt | 2 +-
kstars/data/nds/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kstars/data/fr/CMakeLists.txt b/kstars/data/fr/CMakeLists.txt
index 0702974..c621201 100644
--- a/kstars/data/fr/CMakeLists.txt
+++ b/kstars/data/fr/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES info_url.dat DESTINATION ${DATA_INSTALL_DIR}/kstars/fr
+install( FILES info_url.dat DESTINATION ${KSTARS_DATADIR}/kstars/fr
)
diff --git a/kstars/data/nds/CMakeLists.txt b/kstars/data/nds/CMakeLists.txt
index ba15f6c..f977b1d 100644
--- a/kstars/data/nds/CMakeLists.txt
+++ b/kstars/data/nds/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES info_url.dat DESTINATION ${DATA_INSTALL_DIR}/kstars/nds
+install( FILES info_url.dat DESTINATION ${KSTARS_DATADIR}/kstars/nds
)
--
2.49.0