Fix include bug.
authorJoakim Söderberg <joakim.soderberg@gmail.com>
Tue, 21 Jan 2014 10:19:02 +0000 (11:19 +0100)
committerJoakim Söderberg <joakim.soderberg@gmail.com>
Tue, 21 Jan 2014 10:19:02 +0000 (11:19 +0100)
commit20244671cd3c66ce81ae85dcb9a3f1312c78a25e
treee29a932fb60ee1d04fe25a77ea210b614a525a71
parent8697b99cd472e7f0c5a496b93d4c19e34e1bfd6e
Fix include bug.

On systems where a previous version of Libevent is installed we don't want the system version of the headers to be included before the ones in the build tree. This happened on my OSX system where I had an ancient version of Libevent installed. It would then load the incorrect event-config.h and fail because the system introspection macros weren't set properly.
CMakeLists.txt