diff --git a/src/core/libs/CMakeLists.txt b/src/core/libs/CMakeLists.txt index 5757a2ddd..c5425d027 100644 --- a/src/core/libs/CMakeLists.txt +++ b/src/core/libs/CMakeLists.txt @@ -119,9 +119,9 @@ if(OPENSSL_FOUND) ) endif() if(OPENSSL_VERSION) - if(OPENSSL_VERSION VERSION_GREATER "3.0.0") - target_compile_definitions(core_libs PRIVATE -DUSE_OPENSSL_3=1) - endif() + if(OPENSSL_VERSION VERSION_GREATER "3.0.0") + target_compile_definitions(core_libs PRIVATE -DUSE_OPENSSL_3=1) + endif() endif() else() target_link_libraries(core_libs