alexott / squid-gsb

Support for Google Safe Browsing API in Squid
http://alexott.net/en/cf/squid-gsbapi.html
GNU General Public License v2.0
8 stars 1 forks source link

fix cmake configuration #4

Closed alexott closed 13 years ago

alexott commented 13 years ago

CMake configuration should allow to specify where to install configuration files, binary, data files, documentation, etc.

alexott commented 13 years ago

user can specify options where to put configuration file and hashes. For example:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DGSB_STATEDIR=/var/cache/squid-gsb/ -DGSB_CONFDIR=/etc

it also correctly works with DESTDIR parameter specified to make install command - this allows to correctly package code...