提交 75289167 编写于 作者: J Jonathan Giszczak 提交者: Kevin Heifner

Conditional compilation of mongo_db_plugin.

上级 6d55b503
......@@ -9,6 +9,13 @@ add_subdirectory(account_history_plugin)
add_subdirectory(account_history_api_plugin)
add_subdirectory(wallet_plugin)
add_subdirectory(wallet_api_plugin)
add_subdirectory(mongo_db_plugin)
add_subdirectory(txn_test_gen_plugin)
add_subdirectory(faucet_testnet_plugin)
find_package(libmongoc-1.0 1.8)
if (libmongoc-1.0_FOUND)
add_subdirectory(mongo_db_plugin)
else()
message("Could NOT find MongoDB. mongo_db_plugin will be omitted.")
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册