2 Commits

Author SHA1 Message Date
Azat Khuzhin
4c61a04cd5
Make cmake's check_const_exists() rely on cache 2018-10-18 23:16:05 +03:00
Azat Khuzhin
fa135bdcd9 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)
2017-03-08 12:47:22 +03:00