summaryrefslogtreecommitdiff
path: root/cmake/Modules/FindSNF.cmake
blob: aaa6e4a8f434aef4e96640fb8be74fea9d4d17a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# Try to find the Myricom SNF library.
#

# Try to find the header
find_path(SNF_INCLUDE_DIR snf.h /opt/snf)

# Try to find the library
find_library(SNF_LIBRARY snf /opt/snf)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SNF
  DEFAULT_MSG
  SNF_INCLUDE_DIR
  SNF_LIBRARY
)

mark_as_advanced(
  SNF_INCLUDE_DIR
  SNF_LIBRARY
)