mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
(macOS) Enabled the BUNDLED_CERTS CMake option for legacy builds.
Also added a CMake message on all platforms when configuring with the bundled TLS/SSL certificates.
This commit is contained in:
parent
4e8422dbe0
commit
3a53b26361
|
@ -243,10 +243,15 @@ if(APPLE)
|
|||
message("-- Code signing certificate identity: " ${MACOS_CODESIGN_IDENTITY})
|
||||
endif()
|
||||
if(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.14)
|
||||
set(BUNDLED_CERTS ON)
|
||||
message("-- macOS version 10.13 or lower has been set, so if code signing is enabled, Hardened Runtime will not be used")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set(BUNDLED_CERTS ON)
|
||||
endif()
|
||||
|
||||
#---------------------------------------------------------------------------------------------------
|
||||
# Preprocessor directives.
|
||||
|
||||
|
@ -260,8 +265,9 @@ if(RPI)
|
|||
add_definitions(-D_RPI_)
|
||||
endif()
|
||||
|
||||
if(BUNDLED_CERTS OR WIN32)
|
||||
if(BUNDLED_CERTS)
|
||||
add_definitions(-DUSE_BUNDLED_CERTIFICATES)
|
||||
message("-- Building with bundled TLS/SSL certificates")
|
||||
endif()
|
||||
|
||||
if(DEFINED libCEC_FOUND)
|
||||
|
|
Loading…
Reference in a new issue