Skip to content

Commit

Permalink
Fixed rocksdb build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sherman-the-tank committed Dec 17, 2023
1 parent 950cd03 commit 5ade7e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/externals/rocksdb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ ExternalProject_Add(
-DUSE_RTTI=ON
-DFAIL_ON_WARNINGS=OFF
-DCMAKE_BUILD_TYPE=Release
"-DCMAKE_EXE_LINKER_FLAGS=${extra_lib_dirs} -lbz2 -lsnappy"
"-DCMAKE_EXE_LINKER_FLAGS=${extra_lib_dirs} -lbz2 -lsnappy -lzstd"
"-DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -D NPERF_CONTEXT"
"-DCMAKE_SHARED_LINKER_FLAGS=${extra_lib_dirs} -Wl,-rpath=\$ORIGIN:\$ORIGIN/../3rd"
BUILD_IN_SOURCE 1
BUILD_COMMAND make -s -j${BUILDING_JOBS_NUM}
INSTALL_COMMAND ""
Expand Down

0 comments on commit 5ade7e5

Please sign in to comment.