lordgamez commented on code in PR #2223:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2223#discussion_r3673092414
##########
cmake/GetOpenSSL.cmake:
##########
@@ -23,7 +23,55 @@ if(MINIFI_OPENSSL_SOURCE STREQUAL "CONAN")
set(OPENSSL_BIN_DIR "${openssl_PACKAGE_FOLDER_RELEASE}" CACHE STRING ""
FORCE)
- include(BundledOpenSSLFips)
+ find_package(openssl-fips REQUIRED)
+ set(OPENSSL_FIPS_BIN_DIR "${openssl-fips_PACKAGE_FOLDER_RELEASE}" CACHE
STRING "" FORCE)
+
+ if(APPLE OR WIN32 OR CMAKE_SIZEOF_VOID_P EQUAL 4 OR CMAKE_SYSTEM_PROCESSOR
MATCHES "(arm64)|(ARM64)|(aarch64)|(armv8)")
+ set(LIBDIR "lib")
+ else()
+ set(LIBDIR "lib64")
+ endif()
Review Comment:
This was validated on Windows and on multiple Linux platforms.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]