From e3e1e6d374d85ee6148c07860e09f2ed93a68025 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Thu, 23 Apr 2026 11:40:31 +0200 Subject: [PATCH] [openssl] builtin: destination of include files was not correct Compilation with builtin_openssl probably just worked fine because it picked system-wide openssl headers rather than the builtin ones. Found out while investigating failures in https://github.com/root-project/root/pull/21947 --- builtins/openssl/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builtins/openssl/CMakeLists.txt b/builtins/openssl/CMakeLists.txt index e3ff238beee22..963e400aada40 100644 --- a/builtins/openssl/CMakeLists.txt +++ b/builtins/openssl/CMakeLists.txt @@ -39,7 +39,8 @@ endif() ExternalProject_Add(OPENSSL URL ${OPENSSL_URL} URL_HASH ${OPENSSL_URLHASH} - CONFIGURE_COMMAND ${OPENSSL_CONFIG_CMD} no-shared --prefix= + INSTALL_DIR ${OPENSSL_PREFIX} + CONFIGURE_COMMAND ${OPENSSL_CONFIG_CMD} no-shared --prefix= --openssldir= BUILD_COMMAND make -j1 CC=${CMAKE_C_COMPILER}\ -fPIC\ ${OSX_SYSROOT} INSTALL_COMMAND make install_sw BUILD_IN_SOURCE 1