1#
2# Try to find the Myricom SNF library.
3#
4
5# Try to find the header
6find_path(SNF_INCLUDE_DIR snf.h /opt/snf)
7
8# Try to find the library
9find_library(SNF_LIBRARY snf /opt/snf)
10
11include(FindPackageHandleStandardArgs)
12find_package_handle_standard_args(SNF
13  DEFAULT_MSG
14  SNF_INCLUDE_DIR
15  SNF_LIBRARY
16)
17
18mark_as_advanced(
19  SNF_INCLUDE_DIR
20  SNF_LIBRARY
21)
22
23set(SNF_INCLUDE_DIRS ${SNF_INCLUDE_DIR})
24set(SNF_LIBRARIES ${SNF_LIBRARY})
25