This is an automated email from the ASF dual-hosted git repository.

szaszm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 1d0ade9a1 MINIFICPP-2317 Fix openssl flag flipped in MINIFICPP-1797
1d0ade9a1 is described below

commit 1d0ade9a1e1f557da148db1ffce970dfde991245
Author: Marton Szasz <sza...@apache.org>
AuthorDate: Thu Mar 14 18:27:16 2024 +0100

    MINIFICPP-2317 Fix openssl flag flipped in MINIFICPP-1797
    
    Credits for Gabor Gyimesi for discovery.
    
    Closes #1744
    
    Signed-off-by: Marton Szasz <sza...@apache.org>
---
 cmake/BundledLibArchive.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/BundledLibArchive.cmake b/cmake/BundledLibArchive.cmake
index bcfe53e1d..6ab55de11 100644
--- a/cmake/BundledLibArchive.cmake
+++ b/cmake/BundledLibArchive.cmake
@@ -50,9 +50,9 @@ function(use_bundled_libarchive SOURCE_DIR BINARY_DIR)
             -DENABLE_WERROR=OFF)
 
     if (MINIFI_OPENSSL)
-        list(APPEND LIBARCHIVE_CMAKE_ARGS -DENABLE_OPENSSL=OFF)
-    else()
         list(APPEND LIBARCHIVE_CMAKE_ARGS -DENABLE_OPENSSL=ON)
+    else()
+        list(APPEND LIBARCHIVE_CMAKE_ARGS -DENABLE_OPENSSL=OFF)
     endif()
 
     if (NOT ENABLE_LZMA)

Reply via email to