From bc8830849982f03396586862de3915229944c665 Mon Sep 17 00:00:00 2001 From: Weijia Date: Tue, 12 May 2020 21:24:16 +0000 Subject: [PATCH] CMakeLists.txt now checks specified libfabric version:1.7.0 --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 08392120..a6f38f2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,10 +50,7 @@ endif() # libfabric_FOUND # libfabric_INCLUDE_DIRS # libfabric_LIBRARIES -find_package(libfabric) -if (NOT ${libfabric_FOUND}) - message(FATAL_ERROR "libfabric not found. Please install from https://github.com/ofiwg/libfabric.git. [commit:fcf0f2ec3c7109e06e09d3650564df8d2dfa12b6]") -endif() +find_package(libfabric 1.7.0 REQUIRED) # spdlog is a packaged system library, so this probably isn't necessary, but # it helps ensure that the right version is installed