diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ad95aada..9ab657c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1072,6 +1072,12 @@ if(NOT DISABLE_NETMAP) check_c_source_compiles( "#define NETMAP_WITH_LIBS #include <net/netmap_user.h> + +int +main(void) +{ + return 0; +} " PCAP_SUPPORT_NETMAP) if(PCAP_SUPPORT_NETMAP) |