summaryrefslogtreecommitdiff
blob: e6869e6f3d5bfd9d8739544690a37a88e68479bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- qt5-sqlcipher-1.0.10-orig/CMakeLists.txt
+++ qt5-sqlcipher-1.0.10/CMakeLists.txt
@@ -196,11 +196,7 @@
 			INSTALL(TARGETS qsqlcipher-test DESTINATION bin)
 		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)
-		if (QSQLCIPHER_BUILD_TESTS)
-			INSTALL(TARGETS qsqlcipher-test DESTINATION bin)
-		endif()
+		INSTALL(TARGETS qsqlcipher DESTINATION @LIBDIR@/qt5/plugins/sqldrivers)
 	endif()
 else()
 	INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers)