Skip to content

Commit

Permalink
Merge pull request #1042 from remoe/patch-1
Browse files Browse the repository at this point in the history
fix: FindRocksDB.cmake for MacOSX
  • Loading branch information
gwaldron authored Feb 7, 2018
2 parents 63f3cc6 + 898c72b commit bc3090d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeModules/FindRocksDB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ SET(ROCKSDB_DIR "" CACHE PATH "Root directory of RocksDB distribution")
FIND_PATH(ROCKSDB_INCLUDE_DIR rocksdb/db.h
PATHS
${ROCKSDB_DIR}
NO_DEFAULT_PATH
PATH_SUFFIXES include
)

find_library(ROCKSDB_LIBRARY NAMES ROCKSDBLIB
find_library(ROCKSDB_LIBRARY NAMES ROCKSDBLIB rocksdb
PATHS
${ROCKSDB_DIR}
${ROCKSDB_DIR}/bin/Release
Expand All @@ -18,7 +16,7 @@ find_library(ROCKSDB_LIBRARY NAMES ROCKSDBLIB
)


find_library(ROCKSDB_LIBRARY_DEBUG NAMES ROCKSDBLIB
find_library(ROCKSDB_LIBRARY_DEBUG NAMES ROCKSDBLIB rocksdb
PATHS
${ROCKSDB_DIR}
${ROCKSDB_DIR}/bin/Debug
Expand Down

0 comments on commit bc3090d

Please sign in to comment.