Skip to content

Commit f1e71de

Browse files
Changed LIBDIR for Snappy build (#713)
Changed CMAKE_INSTALL_LIBDIR to 'lib' for Snappy build because of Snappy is not found by leveldb build on some platforms if installed in wrong directory. Resolves: OLPEDGE-896 Signed-off-by: Serhii Lozynskyi <[email protected]>
1 parent c816e9c commit f1e71de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/leveldb/CMakeLists.txt.leveldb.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ include(ExternalProject)
2424
ExternalProject_Add(snappy
2525
GIT_REPOSITORY @OLP_SDK_CPP_SNAPPY_URL@
2626
GIT_TAG @OLP_SDK_CPP_SNAPPY_TAG@
27-
CMAKE_ARGS ${CMAKE_ARGS} ${SNAPPY_CMAKE_ARGS}
27+
CMAKE_ARGS ${CMAKE_ARGS} ${SNAPPY_CMAKE_ARGS} -DCMAKE_INSTALL_LIBDIR=lib
2828
BUILD_COMMAND "${CMAKE_COMMAND}" --build . --config ${CMAKE_BUILD_TYPE} ${EXTERNAL_BUILD_FLAGS}
2929
TEST_COMMAND ""
3030
)

0 commit comments

Comments
 (0)