<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:18:15 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-3511] Provide a way to express dependencies on cmake targets only on mongo::mongoc_static</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3511</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The cause of &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3493&quot; title=&quot;libmongocrypt not listed correctly as interface library for mongoc_static&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3493&quot;&gt;&lt;del&gt;CDRIVER-3493&lt;/del&gt;&lt;/a&gt; was having an explicit dependency on the &lt;tt&gt;mongo::mongocrypt&lt;/tt&gt; target, but not having a call to &lt;tt&gt;find_dependency (mongocrypt)&lt;/tt&gt; in mongoc-config.cmake. Currently, there&apos;s no great way to express such a dependency for consumers.&lt;/p&gt;

&lt;p&gt;mongoc-config.cmake is used for both static and shared targets (mongo::mongoc_shared and mongo::mongoc_static). But a dependency like that only needs to be exposed in the static target (since the shared target has already linked against libmongocrypt.so, and that location information is part of the library itself).&lt;/p&gt;

&lt;p&gt;So, adding a call to &lt;tt&gt;find_dependency&lt;/tt&gt; in mongoc-config.cmake adds the dependency for both targets, even though we only need it for the static target. The workaround of &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3493&quot; title=&quot;libmongocrypt not listed correctly as interface library for mongoc_static&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3493&quot;&gt;&lt;del&gt;CDRIVER-3493&lt;/del&gt;&lt;/a&gt; was to &lt;em&gt;not&lt;/em&gt; depend on the cmake target, and rather depend on the library explicitly (pulling that information out of the mongo::mongocrypt target) as an INTERFACE_LINK_LIBRARY.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1122772">CDRIVER-3511</key>
            <summary>Provide a way to express dependencies on cmake targets only on mongo::mongoc_static</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Jan 2020 18:12:12 +0000</created>
                <updated>Thu, 9 Feb 2023 14:36:28 +0000</updated>
                                                                            <component>cmake</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-3870</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwaijj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>