]> granicus.if.org Git - libevent/commit
Enable kqueue for APPLE targets
authorKeith Smiley <keithbsmiley@gmail.com>
Tue, 2 Jul 2019 17:47:47 +0000 (10:47 -0700)
committerKeith Smiley <keithbsmiley@gmail.com>
Tue, 2 Jul 2019 17:47:47 +0000 (10:47 -0700)
commit0d7d85c2083f7a4c9efe01c061486f332b576d28
treec6b609b54f42a1ced80fcba87857b77c071e9ef9
parent497ef904d544ac51de43934549dbeccce8e6e8f8
Enable kqueue for APPLE targets

The CMAKE_CROSSCOMPILING variable is not set for Apple targets seemingly
because of cmake implementation details (more info
https://cmake.org/cmake/help/latest/variable/CMAKE_CROSSCOMPILING.html).
Since Apple targets have working kqueue implementations this check makes
sure we enable it always when those are the targets, without users
having to explicitly set EVENT__HAVE_WORKING_KQUEUE
CMakeLists.txt