Commit Graph

2 Commits

Author SHA1 Message Date
sdcb
a26bf41ac3 [mongo-cxx-driver] using BUILD_SHARED_LIBS instead of self-defined macro.
related to: https://github.com/Microsoft/vcpkg/pull/316
2016-11-23 10:11:17 +08:00
sdcb
9d3a91cce2 [mongo-cxx-driver] fix static build
note:
Actually, static build is perfectly fine but the cmake always build static and dynamic library togather, in the static environment, dynamic build will fail due link error.

I twisted a patch to the CMakeLists.txt to make dynamic build happy when building static.
2016-11-22 15:33:24 +08:00