diff --git a/CMakeLists.txt b/CMakeLists.txt index 452f0b0278e..d6b12db1470 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,11 +76,6 @@ if(WIN32) 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) diff --git a/README.md b/README.md index 686e1083bfa..13a1b57a515 100644 --- a/README.md +++ b/README.md @@ -93,8 +93,8 @@ defaulted to ON. To build without the RADOS Gateway: 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: