OFED_PREFIX was added to compile with xio messenger for supporting RDMA
using the Accelio and/or MLNX_OFED package. but xio messenger was removed in
in
cc9a9142fd41ee5c98792c6f6d2e5504
let remove the leftover in CMakeLists
Signed-off-by: Kefu Chai <kchai@redhat.com>
add_definitions(-include winsock_wrapper.h)
endif()
-if(OFED_PREFIX)
- include_directories(SYSTEM ${OFED_PREFIX}/include)
- link_directories(${OFED_PREFIX}/lib)
-endif()
-
if(FREEBSD)
include_directories(SYSTEM /usr/local/include)
link_directories(/usr/local/lib)
Another example below is building with debugging and alternate locations
for a couple of external dependencies:
- cmake -DLEVELDB_PREFIX="/opt/hyperleveldb" -DOFED_PREFIX="/opt/ofed" \
- -DCMAKE_INSTALL_PREFIX=/opt/accelio -DCMAKE_C_FLAGS="-O0 -g3 -gdwarf-4" \
+ cmake -DLEVELDB_PREFIX="/opt/hyperleveldb" \
+ -DCMAKE_INSTALL_PREFIX=/opt/ceph -DCMAKE_C_FLAGS="-O0 -g3 -gdwarf-4" \
..
To view an exhaustive list of -D options, you can invoke `cmake` with: