GH-1202 rebuild SSL certs on start on OSX

This commit is contained in:
Petr Mrázek
2015-09-29 00:48:33 +02:00
parent 12b14c3400
commit 22c0d5cf46
4 changed files with 137 additions and 0 deletions

View File

@ -322,6 +322,15 @@ set(MULTIMC_QRCS
resources/certs/certs.qrc
)
set(MultiMC_OSX_source
CertWorkaround.cpp
CertWorkaround.h
)
if(APPLE)
list(APPEND MULTIMC_SOURCES ${MultiMC_OSX_source})
endif()
######## Windows resource files ########
if(WIN32)
set(MULTIMC_RCS resources/multimc.rc)