aboutsummaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2012-09-06 10:37:17 +0000
committerJörg Mayer <jmayer@loplof.de>2012-09-06 10:37:17 +0000
commitd8a7eed0a74ac3ca7168a5fce5acf473d93a40f6 (patch)
treea547db4417bb030cab346e80f7af59aae516f33a /ConfigureChecks.cmake
parentfc5c9f7853deb65d9cb3c6e8c6c50665d2159cc2 (diff)
Get netlink detection working with cmake (not complete)
svn path=/trunk/; revision=44791
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index b81cc47fb6..07b0e80b11 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -75,3 +75,8 @@ check_function_exists("mprotect" HAVE_MPROTECT)
check_function_exists("mkdtemp" HAVE_MKDTEMP)
check_function_exists("mkstemp" HAVE_MKSTEMP)
check_function_exists("sysconf" HAVE_SYSCONF)
+
+#Symbols
+include(CheckSymbolExists)
+check_symbol_exists(NL80211_CMD_SET_CHANNEL "linux/nl80211.h" HAVE_NL80211_CMD_SET_CHANNEL)
+