]> granicus.if.org Git - libevent/commit
cmake: Fix checking of enum values from sysctl.h
authorAzat Khuzhin <a3at.mail@gmail.com>
Mon, 30 Jan 2017 00:17:41 +0000 (03:17 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Wed, 8 Mar 2017 09:47:22 +0000 (12:47 +0300)
commitfa135bdcd9f82a953ac6be55a5c874114bccbc42
tree0ff89665b78f388d93492d7175f1fbe4139172c6
parentc199df7bc78824ff579ff34c5f9f922034e8fa31
cmake: Fix checking of enum values from sysctl.h

CheckSymbolExists do not do this, so add new CheckConstExists that will
use CheckCSourceCompiles() to check this.

v2: use set() instead of string(APPEND)
CMakeLists.txt
cmake/CheckConstExists.cmake [new file with mode: 0644]
event-config.h.cmake