--- addons/SQLite3/CMakeLists.txt.orig	2012-10-02 16:24:59.000000000 +0200
+++ addons/SQLite3/CMakeLists.txt	2012-10-02 16:25:24.000000000 +0200
@@ -20,6 +20,9 @@
 	# Additional include directories
 	include_directories(${SQLITE_INCLUDE_DIRS})
 
+	# Additional link directories
+	link_directories(${SQLITE_LIBRARY_DIRS})
+
 	# Generate the IoSQLite3Init.c file.
 	# Argument SHOULD ALWAYS be the exact name of the addon, case is
 	# important.
