diff options
author | Ali Abdulkadir <autostart.ini@gmail.com> | 2017-10-05 04:56:19 +0300 |
---|---|---|
committer | Ali Abdulkadir <autostart.ini@gmail.com> | 2017-10-05 04:56:19 +0300 |
commit | f91ca7fca9df239e6118a842f0d9ec2c95618353 (patch) | |
tree | 3d9fdbeb648b1da53a91232b1652a3d7804b1eaf /cmake | |
parent | 1fac890f2266dab2f3bcd8034baa6447e5f04f45 (diff) | |
parent | a511023dd7ebacff23ab220aa8315ccff2597a3b (diff) | |
download | libpcap-f91ca7fca9df239e6118a842f0d9ec2c95618353.tar.gz |
Merge branch 'master' of https://github.com/the-tcpdump-group/libpcap into rpcapd
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindDAG.cmake | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cmake/FindDAG.cmake b/cmake/FindDAG.cmake new file mode 100644 index 00000000..0e27583f --- /dev/null +++ b/cmake/FindDAG.cmake @@ -0,0 +1,21 @@ +# +# Try to find the DAG library. +# + +# Try to find the header +find_path(DAG_INCLUDE_DIR dagapi.h) + +# Try to find the library +find_library(DAG_LIBRARY dag) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(DAG + DEFAULT_MSG + DAG_INCLUDE_DIR + DAG_LIBRARY +) + +mark_as_advanced( + DAG_INCLUDE_DIR + DAG_LIBRARY +) |