[CDRIVER-4784] Disable shared libmongoc targets if `ENABLE_SHARED=OFF` Created: 16/Nov/23 Updated: 07/Dec/23 Resolved: 06/Dec/23 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.25.3 |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
ScopeDisable shared libmongoc targets if the CMake option ENABLE_SHARED is OFF Background and motivation
This may result simplifying the vcpkg port. The port currently includes a patch to disable the shared library build when the static library is built: IIUC vcpkg expects only shared or static libraries are built (but not both). Refer: |
| Comments |
| Comment by Githook User [ 06/Dec/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |
| Comment by Githook User [ 06/Dec/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |