[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 ]

https://github.com/mongodb/mongo-cxx-driver/pull/404

Comment by Sean Massung [ 19/Dec/15 ]

I'll submit a PR with a fix.

Generated at Wed Feb 07 22:00:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.