mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-03 13:57:04 +02:00
If YUZU_USE_BUNDLED_OPENSSL is off and OpenSSL is *not* installed to the system, pulls in OpenSSL and Jimmy Park's CMake wrapper, then configures + builds from source. Some patches were made on top of OpenSSL and openssl-cmake: - USE_CCACHE is respected from UseCcache.cmake - CXX/CFLAGS are passed from CMake to the configure script, which sends those to the compiler - Uses a bundled cert.h akin to the bundled OpenSSL build Closes #3614 ~~Before merge: remove verbose stuff~~ actually useful so nvm Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4032 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
28 lines
865 B
Diff
28 lines
865 B
Diff
From 4a3cc92a7abad403529ed1cb4255ca63d9252de4 Mon Sep 17 00:00:00 2001
|
|
From: crueter <crueter@eden-emu.dev>
|
|
Date: Sat, 30 May 2026 21:48:42 -0400
|
|
Subject: [PATCH 2/2] use cmake compiler flags
|
|
|
|
---
|
|
cmake/ConfigureOpenSSL.cmake | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/cmake/ConfigureOpenSSL.cmake b/cmake/ConfigureOpenSSL.cmake
|
|
index 3d8cbed..3012e05 100644
|
|
--- a/cmake/ConfigureOpenSSL.cmake
|
|
+++ b/cmake/ConfigureOpenSSL.cmake
|
|
@@ -135,7 +135,10 @@ function(configure_openssl)
|
|
endif()
|
|
|
|
execute_process(
|
|
- COMMAND ${CONFIGURE_COMMAND}
|
|
+ COMMAND ${CMAKE_COMMAND} -E env
|
|
+ "CFLAGS=${CMAKE_C_FLAGS}"
|
|
+ "CXXFLAGS=${CMAKE_CXX_FLAGS}"
|
|
+ ${CONFIGURE_COMMAND}
|
|
WORKING_DIRECTORY ${CONFIGURE_BUILD_DIR}
|
|
${VERBOSE_OPTION}
|
|
COMMAND_ERROR_IS_FATAL ANY
|
|
--
|
|
2.54.0
|
|
|