Add link directories to SQLite3 addon #229

Merged
merged 1 commit into from Oct 2, 2012
+3 −0
View
3 addons/SQLite3/CMakeLists.txt
@@ -19,6 +19,9 @@ if(SQLITE_FOUND)
# 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.