Skip to content

Commit

Permalink
Merge pull request #7050 from lsparey/master
Browse files Browse the repository at this point in the history
[mongo-cxx-driver] Do not delete the third_party include folder when building with mnmlstc
  • Loading branch information
grdowns committed Jul 1, 2019
2 parents 12587b1 + 9706c31 commit dac4ec2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/mongo-cxx-driver/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: mongo-cxx-driver
Version: 3.4.0-2
Version: 3.4.0-3
Build-Depends: libbson, mongo-c-driver, boost-smart-ptr, boost-optional, boost-utility
Homepage: https://github.com/mongodb/mongo-cxx-driver
Description: MongoDB C++ Driver.
Expand Down
5 changes: 4 additions & 1 deletion ports/mongo-cxx-driver/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,16 @@ set(LIBMONGOCXX_LIBRARIES optimized \${LIBMONGOCXX_LIBRARY_PATH_RELEASE} debug \

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/cmake ${CURRENT_PACKAGES_DIR}/debug/lib/cmake)

if (NOT BSONCXX_POLY STREQUAL MNMLSTC)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/bsoncxx/third_party)
endif()

file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/include/bsoncxx/cmake
${CURRENT_PACKAGES_DIR}/include/bsoncxx/config/private
${CURRENT_PACKAGES_DIR}/include/bsoncxx/private
${CURRENT_PACKAGES_DIR}/include/bsoncxx/test
${CURRENT_PACKAGES_DIR}/include/bsoncxx/test_util
${CURRENT_PACKAGES_DIR}/include/bsoncxx/third_party

${CURRENT_PACKAGES_DIR}/include/mongocxx/cmake
${CURRENT_PACKAGES_DIR}/include/mongocxx/config/private
Expand Down

0 comments on commit dac4ec2

Please sign in to comment.