Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Sep 23, 2021

To avoid the "... is deprecated" warnings brought by OpenSSL v3.
(We need to address the underlying code at some point of course.)

To avoid the "... is deprecated" warnings brought by OpenSSL v3.
(We need to address the underlying code at some point of course.)
@bagder bagder force-pushed the bagder/cmake-openssl3-deprecated branch from 7990560 to fa10731 Compare September 23, 2021 12:42
@bagder
Copy link
Member Author

bagder commented Sep 23, 2021

I don't get it. How do I add that define to the compiler flags in cmake?

Also, how do I tell cmake to build with openssl installed in a custom path?

@jzakrzewski
Copy link
Contributor

There are better ways nowadays, but you probably want: https://cmake.org/cmake/help/v3.8/command/add_definitions.html

@bagder
Copy link
Member Author

bagder commented Sep 23, 2021

That seems to have worked, thanks!

@bagder bagder closed this in 3455d29 Sep 23, 2021
@bagder bagder deleted the bagder/cmake-openssl3-deprecated branch September 23, 2021 21:31
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