1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/cmake/FindIBVerbs.cmake
Steffen Vogel 3ab7b7f84d Use spaces for indention of CMake files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 21:40:05 +01:00

24 lines
721 B
CMake

# CMakeLists.txt.
#
# Author: Steffen Vogel <post@steffenvogel.de>
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
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
find_package_handle_standard_args(IBVerbs DEFAULT_MSG
IBVERBS_LIBRARY IBVERBS_INCLUDE_DIR)
mark_as_advanced(IBVERBS_INCLUDE_DIR IBVERBS_LIBRARY)
set(IBVERBS_LIBRARIES ${IBVERBS_LIBRARY})
set(IBVERBS_INCLUDE_DIRS ${IBVERBS_INCLUDE_DIR})