summaryrefslogtreecommitdiff
path: root/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-install-path.patch
blob: d5eb79f5f04e8291a63facdbcd574cbb6e6d6bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- qt5-sqlcipher-orig/CMakeLists.txt
+++ qt5-sqlcipher/CMakeLists.txt
@@ -120,8 +120,7 @@
 			INSTALL(TARGETS qsqlcipher DESTINATION lib/i386-linux-gnu/qt5/plugins/sqldrivers)
 		endif()
 	else()
-		message(WARNING "Packaging is not set up for this platform, either submit a ticket or change/add pathes yourself, if packaging is required.")
-		INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers)
+		INSTALL(TARGETS qsqlcipher DESTINATION @LIBDIR@/qt5/plugins/sqldrivers)
 	endif()
 else()
 	INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers)