2018-07-04 17:27:06 +02:00
|
|
|
# CMakeLists.txt.
|
|
|
|
#
|
2022-03-15 09:18:01 -04:00
|
|
|
# Author: Steffen Vogel <post@steffenvogel.de>
|
2022-03-15 09:28:57 -04:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2022-07-04 18:20:03 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2018-07-04 17:27:06 +02:00
|
|
|
|
|
|
|
find_path(IBVERBS_INCLUDE_DIR
|
|
|
|
NAMES infiniband/verbs.h
|
|
|
|
)
|
|
|
|
|
|
|
|
find_library(IBVERBS_LIBRARY
|
|
|
|
NAMES ibverbs
|
|
|
|
)
|
|
|
|
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set VILLASNODE_FOUND to TRUE
|
|
|
|
# if all listed variables are TRUE
|
2021-06-18 20:19:46 -04:00
|
|
|
find_package_handle_standard_args(IBVerbs DEFAULT_MSG
|
|
|
|
IBVERBS_LIBRARY IBVERBS_INCLUDE_DIR)
|
2018-07-04 17:27:06 +02:00
|
|
|
|
|
|
|
mark_as_advanced(IBVERBS_INCLUDE_DIR IBVERBS_LIBRARY)
|
|
|
|
|
|
|
|
set(IBVERBS_LIBRARIES ${IBVERBS_LIBRARY})
|
|
|
|
set(IBVERBS_INCLUDE_DIRS ${IBVERBS_INCLUDE_DIR})
|