[CXX-760] CMake Configuration needs alternate mechanism to find C driver instead of pkg-config Created: 03/Dec/15 Updated: 11/Jan/16 Resolved: 04/Jan/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0-rc0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows |
||
| Issue Links: |
|
||||||||
| Epic Link: | C++11 Driver MongoDB 3.2 | ||||||||
| Description |
|
pkg-config is not supported on Windows so an alternative mechanism is needed to support configuring how to find the libbson and libmongoc. See https://github.com/mongodb/mongo-c-driver/ for an example of how the C driver manages this. |
| Comments |
| Comment by Githook User [ 04/Jan/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 01/Jan/16 ] |
| Comment by Mark Benvenuto [ 04/Dec/15 ] |
|
KDE which is a heavy use of CMake simply wraps their find logic into FindXXX.cmake files, and in then protects the use of PkgConfig with if (NOT WIN32). Examples: |