From: Dima Kogan <dkogan@debian.org>
Date: Sat, 23 Aug 2025 17:29:17 -0700
X-Dgit-Generated: 2025.1.0-1 024f8c4b6929079e5a8d30d9832705e69171e1ed
Subject: install stuff to standard location


---

diff --git a/src/depthMapEntity/CMakeLists.txt b/src/depthMapEntity/CMakeLists.txt
index c1daaca..db60e8f 100644
--- a/src/depthMapEntity/CMakeLists.txt
+++ b/src/depthMapEntity/CMakeLists.txt
@@ -62,6 +62,6 @@ set_target_properties(depthMapEntityPlugin
 
 # Install settings
 install(FILES "qmldir"
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/qml/DepthMapEntity)
+        DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt6/qml/DepthMapEntity)
 install(TARGETS depthMapEntityPlugin
-        DESTINATION "${CMAKE_INSTALL_PREFIX}/qml/DepthMapEntity")
+        DESTINATION "${CMAKE_INSTALL_LIBDIR}/qt6/qml/DepthMapEntity")
diff --git a/src/qmlSfmData/CMakeLists.txt b/src/qmlSfmData/CMakeLists.txt
index 64d41db..8f993eb 100644
--- a/src/qmlSfmData/CMakeLists.txt
+++ b/src/qmlSfmData/CMakeLists.txt
@@ -55,6 +55,6 @@ set_target_properties(sfmDataEntityQmlPlugin
 
 # Install settings
 install(FILES "qmldir"
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/qml/SfmDataEntity)
+        DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt6/qml/SfmDataEntity)
 install(TARGETS sfmDataEntityQmlPlugin
-        DESTINATION "${CMAKE_INSTALL_PREFIX}/qml/SfmDataEntity")
+        DESTINATION "${CMAKE_INSTALL_LIBDIR}/qt6/qml/SfmDataEntity")
diff --git a/src/qtAliceVision/CMakeLists.txt b/src/qtAliceVision/CMakeLists.txt
index 2a09216..5c06669 100644
--- a/src/qtAliceVision/CMakeLists.txt
+++ b/src/qtAliceVision/CMakeLists.txt
@@ -109,6 +109,6 @@ set_target_properties(qtAliceVisionPlugin
 
 # Install settings
 install(FILES "qmldir"
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/qml/AliceVision)
+        DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt6/qml/AliceVision)
 install(TARGETS qtAliceVisionPlugin
-        DESTINATION "${CMAKE_INSTALL_PREFIX}/qml/AliceVision")
+        DESTINATION "${CMAKE_INSTALL_LIBDIR}/qt6/qml/AliceVision")
diff --git a/src/qtAliceVisionImageIO/CMakeLists.txt b/src/qtAliceVisionImageIO/CMakeLists.txt
index 84d9e2d..f8cd4fc 100644
--- a/src/qtAliceVisionImageIO/CMakeLists.txt
+++ b/src/qtAliceVisionImageIO/CMakeLists.txt
@@ -45,4 +45,4 @@ target_link_libraries(qtAliceVisionImageIOPlugin
 
 
 # Install settings
-install(TARGETS qtAliceVisionImageIOPlugin DESTINATION imageformats)
+install(TARGETS qtAliceVisionImageIOPlugin DESTINATION "${CMAKE_INSTALL_LIBDIR}/qt6/plugins/imageformats/")
