Allow kiwix-lib to compile without ctpp2c.

ctpp2c is used to pre-compile the template resource.
However, on OSX, ctpp2c seems to be difficult to compile, as we don't need
ctpp2 at all on OSX/iOS, lets just stop to force the use of ctpp2c.
This commit is contained in:
Chris Li
2017-08-14 10:31:15 -04:00
parent a794849993
commit cf93c8719f
5 changed files with 20 additions and 11 deletions

View File

@ -93,7 +93,6 @@ class Searcher
std::string searchPattern;
std::string protocolPrefix;
std::string searchProtocolPrefix;
std::string template_ct2;
unsigned int resultCountPerPage;
unsigned int estimatedResultCount;
unsigned int resultStart;