1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-31 11:19:18 +00:00

Fix cmakelint formatting

This commit is contained in:
Carles Fernandez 2024-06-29 11:45:00 +02:00
parent a530981d5b
commit 609b85b864
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -20,12 +20,12 @@ set_package_properties(OpenSSL
) )
if(OPENSSL_FOUND) if(OPENSSL_FOUND)
set_package_properties(OpenSSL set_package_properties(OpenSSL
PROPERTIES PROPERTIES
DESCRIPTION "Cryptography and SSL/TLS Toolkit (found: v${OPENSSL_VERSION})" DESCRIPTION "Cryptography and SSL/TLS Toolkit (found: v${OPENSSL_VERSION})"
) )
else() else()
set_package_properties(OpenSSL set_package_properties(OpenSSL
PROPERTIES PROPERTIES
DESCRIPTION "OpenSSL has not been found, but GnuTLS with openssl compatibility can replace it" DESCRIPTION "OpenSSL has not been found, but GnuTLS with openssl compatibility can replace it"
) )
################################################################################ ################################################################################
@ -114,7 +114,7 @@ function(link_to_crypto_dependencies target)
PUBLIC PUBLIC
OpenSSL::Crypto OpenSSL::Crypto
) )
endif() endif()
else() else()
target_link_libraries(core_system_parameters target_link_libraries(core_system_parameters
PUBLIC PUBLIC
@ -131,10 +131,9 @@ function(link_to_crypto_dependencies target)
target_compile_definitions(${target} PUBLIC -DUSE_OPENSSL_3=1) target_compile_definitions(${target} PUBLIC -DUSE_OPENSSL_3=1)
else() else()
if(NOT OPENSSL_VERSION VERSION_LESS "1.1.1") if(NOT OPENSSL_VERSION VERSION_LESS "1.1.1")
target_compile_definitions(${target} PUBLIC -DUSE_OPENSSL_111=1) target_compile_definitions(${target} PUBLIC -DUSE_OPENSSL_111=1)
else()
endif() endif()
endif() endif()
else() else()
endif() endif()
else() # GnuTLS else() # GnuTLS