[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r4382: Add an example cmake line to README.geoip. (vidalia/trunk)
Author: edmanm
Date: 2010-08-05 16:55:15 -0400 (Thu, 05 Aug 2010)
New Revision: 4382
Modified:
vidalia/trunk/README.geoip
Log:
Add an example cmake line to README.geoip.
Modified: vidalia/trunk/README.geoip
===================================================================
--- vidalia/trunk/README.geoip 2010-08-05 20:42:58 UTC (rev 4381)
+++ vidalia/trunk/README.geoip 2010-08-05 20:55:15 UTC (rev 4382)
@@ -23,6 +23,14 @@
-DGEOIP_INCLUDE_DIR=<path to GeoIP.h> \
-DGEOIP_LIBRARY_DIR=<path to libGeoIp> ..
+Here is an example of what the previous command might look like, if you
+don't have the MaxMind GeoIP library installed somewhere in the normal
+search path:
+
+ cmake -DUSE_GEOIP=1 \
+ -DGEOIP_INCLUDE_DIR=/home/someuser/GeoIP-1.4.6/libGeoIP/ \
+ -DGEOIP_LIBRARY_DIR=/home/someuser/GeoIP-1.4.6/libGeoIP/
+
If the GeoIP library and headers are in the normal locations on OS X and
Linux (e.g., /usr/local/lib and /usr/local/include), you can most likely
omit -DGEOIP_INCLUDE_DIR and -DGEOIP_LIBRARY_DIR from the command above.