removing rocksdb cmake file

This commit is contained in:
mike@arpaia.co 2014-09-23 18:55:56 -07:00
parent 800faa205f
commit c4e659c4ad

View File

@ -1,16 +0,0 @@
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/third-party/rocksdb/include")
include(ExternalProject)
if (APPLE)
set(OS_ROCKSDB_INSTALL_LIB librocksdb.dylib)
else()
set(OS_ROCKSDB_INSTALL_LIB librocksdb.so)
endif()
ExternalProject_Add(librocksdb
SOURCE_DIR "${CMAKE_SOURCE_DIR}/third-party/rocksdb"
CONFIGURE_COMMAND ""
BUILD_IN_SOURCE 1
BUILD_COMMAND make shared_lib && make static_lib
INSTALL_COMMAND sudo cp "${OS_ROCKSDB_INSTALL_LIB}" /usr/local/lib/ && sudo cp librocksdb.a /usr/local/lib/
)