From da225647a45fed37f2ff2eeda0e833c6f8cbb439 Mon Sep 17 00:00:00 2001 From: Robert Schulze Date: Tue, 16 Apr 2024 14:16:02 +0000 Subject: [PATCH] Add comment --- contrib/openssl-cmake/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/openssl-cmake/CMakeLists.txt b/contrib/openssl-cmake/CMakeLists.txt index fafd4bcd283..56196218fed 100644 --- a/contrib/openssl-cmake/CMakeLists.txt +++ b/contrib/openssl-cmake/CMakeLists.txt @@ -100,6 +100,7 @@ if(ARCH_AMD64) set(OPENSSL_SYSTEM "macosx") else() macro(perl_generate_asm FILE_IN FILE_OUT) + # Manually set $CC because the called Perl scripts require it. add_custom_command(OUTPUT ${FILE_OUT} COMMAND ${CMAKE_COMMAND} -E env "CC=${CMAKE_CXX_COMPILER}" /usr/bin/env perl ${FILE_IN} ${FILE_OUT}) endmacro()