Pass CMAKE_INSTALL_LIBDIR=lib to rocksdb cmake
Summary: Rocksdb cmake configuration uses `GNUInstallDirs`, which on some platforms sets `CMAKE_INSTALL_LIBDIR` to `lib64`. We have hardcoded the path to the library inside `lib`. Since this is a local installation, it doesn't really matter, so it should be OK to always install rocksdb under `lib`. Reviewers: mferencevic Reviewed By: mferencevic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D2042
This commit is contained in:
parent
a58808d0f6
commit
bf4bf7a3bd
@ -201,6 +201,7 @@ import_external_library(rocksdb STATIC
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/rocksdb/include
|
${CMAKE_CURRENT_SOURCE_DIR}/rocksdb/include
|
||||||
CMAKE_ARGS -DUSE_RTTI=ON
|
CMAKE_ARGS -DUSE_RTTI=ON
|
||||||
-DWITH_TESTS=OFF
|
-DWITH_TESTS=OFF
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib
|
||||||
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=true
|
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=true
|
||||||
BUILD_COMMAND $(MAKE) rocksdb)
|
BUILD_COMMAND $(MAKE) rocksdb)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user