[CDRIVER-1993] cmake doesn't check libbson minimum version Created: 17/Jan/17 Updated: 03/May/17 Resolved: 24/Feb/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | Build, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Hannes Magnusson | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Compiling mongoc using the CMake manifest will happily compile against whatever libbson is installed without verifying its minimum required version. |
| Comments |
| Comment by Githook User [ 24/Feb/17 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Also fix |
| Comment by Hannes Magnusson [ 17/Jan/17 ] |
|
cmake is currently the only way we test compiling against system installed libbson. mongo-cxx-driver discovered an issue where we had bumped mongoc-master to 1.6.0-dev, hence requiring libbson 1.6.0-dev, but libbson-master was still reporting 1.5.0-dev. We appear not to check the bundled libbson version thoroughly, hence our autotools builds not failing, while our cmake manifest seems to be skipping the version check completely |