summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-07-08 14:54:47 +0200
committerTimo Dritschler <timo.dritschler@kit.edu>2014-07-08 14:54:47 +0200
commit2b130e84ccadd2953263d96d16e19f3d219f6d54 (patch)
tree9bbb77a0869a4aab80472dd346f1471c6374221e /CMakeLists.txt
parent122715698f543448874176af5e3999f39b4a6a08 (diff)
downloadkiro-2b130e84ccadd2953263d96d16e19f3d219f6d54.tar.gz
kiro-2b130e84ccadd2953263d96d16e19f3d219f6d54.tar.bz2
kiro-2b130e84ccadd2953263d96d16e19f3d219f6d54.tar.xz
kiro-2b130e84ccadd2953263d96d16e19f3d219f6d54.zip
Updated CMake build dependencies for rdmacm-devel files
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a8a426b..d97db3e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,14 @@ set(LIBKIRO_ABI_VERSION "${LIBKIRO_VERSION_MAJOR}.${LIBKIRO_VERSION_MINOR}")
set(LIBKIRO_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR})
+message(STATUS "checking for rdmacm-devel library")
+find_path(RDMACM_DIR rdma/rdma_verbs.h)
+if(NOT RDMACM_DIR)
+ message( FATAL_ERROR "rdma/rdma_verbs.h Not Found! Probably your version of rdmacm-devel is too old. (Needs to be 1.0.15 or newer)" )
+else()
+ message(STATUS " found rdma/rdma_verbs.h")
+endif()
+
find_package(PkgConfig)
pkg_check_modules(GLIB2 glib-2.0>=2.24 REQUIRED)
pkg_check_modules(GOBJECT2 gobject-2.0>=2.24 REQUIRED)
@@ -26,7 +34,7 @@ include_directories(
${GOBJECT2_INCLUDE_DIRS}
)
-add_definitions(-Wall -Wextra -std=c99)
+add_definitions(-g -Wall -Wextra -std=c99)
# check for 64 bit
if (CMAKE_SIZEOF_VOID_P EQUAL 8)