<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="+1"><tt>I am running qgis on a Fedora core 18 laptop. I
run both the packcaged qgis 1.8 and I build the development
version. Recently I wanted to use spatialite version 4.1.1
instead of the 3.1 version packaged with Fedora. I successfully
built both sqlite 3.8 and Spatialite 4.1.1. I built static
libraries to avoid accidentally picking up the system shared
libraries. When I tried to configure qgis to use the new
libraries by changing the paths
SPATIALITE_INCLUDE_DIR/SPATIALITE_LIBRARY/SQLITE3_INCLUDE_DIR/SQLITE3_LIBRARY
but this didn't work. The only way I was able to get it to work
was to modify the FindSPATIALITE.cmake script to the skip the
library check and to add -DSPATIALITE_VERSION_GE_4_0_0 to the
CMAKE_CXX_FLAGS.<br>
<br>
My question is should I have been able to just adjust the
spatialite/sqlite variables or is the way I did it the only way?<br>
</tt></font>
</body>
</html>