mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35: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})
|
message("-- Code signing certificate identity: " ${MACOS_CODESIGN_IDENTITY})
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.14)
|
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")
|
message("-- macOS version 10.13 or lower has been set, so if code signing is enabled, Hardened Runtime will not be used")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
set(BUNDLED_CERTS ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------
|
||||||
# Preprocessor directives.
|
# Preprocessor directives.
|
||||||
|
|
||||||
|
@ -260,8 +265,9 @@ if(RPI)
|
||||||
add_definitions(-D_RPI_)
|
add_definitions(-D_RPI_)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUNDLED_CERTS OR WIN32)
|
if(BUNDLED_CERTS)
|
||||||
add_definitions(-DUSE_BUNDLED_CERTIFICATES)
|
add_definitions(-DUSE_BUNDLED_CERTIFICATES)
|
||||||
|
message("-- Building with bundled TLS/SSL certificates")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(DEFINED libCEC_FOUND)
|
if(DEFINED libCEC_FOUND)
|
||||||
|
|
Loading…
Reference in a new issue