[CXX-781] CMake path incorrect when subproject Created: 19/Dec/15 Updated: 11/Jan/16 Resolved: 21/Dec/15 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sean Massung | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | C++11 Driver MongoDB 3.2 |
| Description |
|
src/mongocxx/test/CMakeLists.txt contains the variable CMAKE_SOURCE_DIR, which has the incorrect value when mongo-cxx-driver is a CMake subproject. |
| Comments |
| Comment by Samantha Ritter (Inactive) [ 21/Dec/15 ] |
|
commit: https://github.com/mongodb/mongo-cxx-driver/commit/43c21c8c16bd7c302a0f3e64e31c9ef99e8e52d0 |
| Comment by Sean Massung [ 19/Dec/15 ] |
| Comment by Sean Massung [ 19/Dec/15 ] |
|
I'll submit a PR with a fix. |