Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

when unable to find mongo driver stop cmake - 1.8 #7311

Merged
merged 1 commit into from
May 8, 2019

Conversation

spoonincode
Copy link
Contributor

Previously the mongo plugin cmake would simply print a message that it couldn't find a mongo c driver and carry on. But this means compilation of nodeos will fail because BUILD_MONGO_DB_PLUGIN is still set to ON so nodeos cmake will try to link against the plugin that is not built.

Can't just set BUILD_MONGO_DB_PLUGIN to OFF here because of cmake scoping rules

Might as well just error out; I don't think many people will set this to ON and then want the build to plow ahead anyways

Change Description

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

Previously the mongo plugin cmake would simply print a message that it couldn't find a mongo c driver and carry on. But this means compilation of nodeos will fail because BUILD_MONGO_DB_PLUGIN is still set to ON so nodeos cmake will try to link against the plugin that is not built.

Can't just set BUILD_MONGO_DB_PLUGIN to OFF here because of cmake scoping rules

Might as well just error out; I don't think many people will set this to ON and then want the build to plow ahead anyways
@spoonincode spoonincode merged commit 920afac into release/1.8.x May 8, 2019
@spoonincode spoonincode deleted the stop_cmake_unable_find_mongo_18x branch May 8, 2019 22:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants