mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
removing rocksdb cmake file
This commit is contained in:
parent
800faa205f
commit
c4e659c4ad
@ -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/
|
||||
)
|
Loading…
Reference in New Issue
Block a user