Skip to content

cmake: set BUILDING_LIBCURL directly for unit test targets #17264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented May 6, 2025

To avoid adding this macro to the global CURL_DEBUG_MACROS variable,
which may be used for targets defined after unit tests, and where this
macro may not be necessary.

As of this commit unit tests are defined last, so extending the global
variable did not cause any issue.

Follow-up to 220eda3 #17259

To avoid adding this macro to the global `CURL_DEBUG_MACROS` variable,
which may be used for targets defined after unit tests, and where this
macro may not be necessary.

At the moment unit tests are defined last, so this did not cause any
issue.

Follow-up to 220eda3 curl#17259
@vszakats vszakats closed this in c6d0524 May 7, 2025
@vszakats vszakats deleted the cm-dbg-macros branch May 7, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants