# #LMDB # ExternalProject_Add ( lmdb PREFIX ${CMAKE_INSTALL_PREFIX} URL https://github.com/LMDB/lmdb/archive/LMDB_0.9.18.zip URL_MD5 d910622418f8cec3783fd0163d0b2062 PATCH_COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_LIST_DIR}/patch . CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} -DBUILD_SHARED_LIBS:BOOL=OFF )