Skip to content
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

Treat CMAKE_REQUIRED_DEFINITIONS as a list #10272

Conversation

Marc-Aldorasi-Imprivata
Copy link
Contributor

According to the documentation CMAKE_REQUIRED_DEFINITIONS is a list, so add to it using list(APPEND instead of string concatenation.

@bagder bagder added the cmake label Jan 10, 2023
@jay jay added the tidy-up label Jan 24, 2023
@jay jay closed this in 71cc27f Jan 24, 2023
@jay
Copy link
Member

jay commented Jan 24, 2023

Thanks

bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
- Use list() instead of set() for CMAKE_REQUIRED_DEFINITIONS list since
  the former is clearer.

Closes curl#10272
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.

None yet

3 participants