-
Notifications
You must be signed in to change notification settings - Fork 294
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
feat build: prefere static libs when possible #821
feat build: prefere static libs when possible #821
Conversation
@@ -1,12 +0,0 @@ | |||
_userver_module_begin( | |||
NAME SSL | |||
COMMON_NAME OpenSSL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OpenSSL был последним cmake файлом использующим COMMON_NAME для _userver_module_begin. Можно будет ощутимо упростить userver_module* функции
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
понял, попробую изничтожить тогда
FindOpenSSL вроде бы с симейка 3.4 доступен, поэтому эти модули не нужны (да и они кажется не использовались вообще)
CMakeLists.txt
Outdated
@@ -143,6 +143,11 @@ option(USERVER_FEATURE_OTLP "Provide asynchronous OTLP exporters" "${USERVER_LIB | |||
|
|||
set(CMAKE_DEBUG_POSTFIX d) | |||
|
|||
set(OPENSSL_USE_STATIC_LIBS ON) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это стоит в опцию какой-нибудь обернуть, потому что у нас явно не везде всё для статических либ готово
Note: by creating a PR or an issue you automatically agree to the CLA. See CONTRIBUTING.md. Feel free to remove this note, the agreement holds.