CMake: explicitly link mbedcrypto for yuzu-room

Doesn't appear to effect anything regular, but in both Linux and Windows
builds it looks like our project has all the libraries available for
linking. If this feature is turned off, there is only one thing that
quit working, when linking yuzu-room it couldn't find a function called
mbedtls_base64_decode

mbedtls is split into three libraries for some reason:
mbedtls
mbedx509
mbedcrypto

mbedtls_base64_decode is in mbedcrypto
This commit is contained in:
Kyle Kienapfel 2022-09-08 05:34:36 -07:00
parent 4ffbbc5348
commit e78a623342

View File

@ -16,7 +16,7 @@ if (ENABLE_WEB_SERVICE)
target_link_libraries(yuzu-room PRIVATE web_service) target_link_libraries(yuzu-room PRIVATE web_service)
endif() endif()
target_link_libraries(yuzu-room PRIVATE mbedtls) target_link_libraries(yuzu-room PRIVATE mbedtls mbedcrypto)
if (MSVC) if (MSVC)
target_link_libraries(yuzu-room PRIVATE getopt) target_link_libraries(yuzu-room PRIVATE getopt)
endif() endif()