It seems that the link order in CMakeLists.txt is wrong. If libA depends on libB, libB should be linked after libA. The proper link order should be Boost->OpenSSL->ZLIB->Threads instead of ZLIB->OpenSSL->Threads->Boost. Also, the find_package call order for Boost should be ->coroutine->context-> instead of ->context->coroutine->. Otherwise, you end up with undefined references on Linux machines when using static libraries.
It seems that the link order in CMakeLists.txt is wrong. If libA depends on libB, libB should be linked after libA. The proper link order should be Boost->OpenSSL->ZLIB->Threads instead of ZLIB->OpenSSL->Threads->Boost. Also, the find_package call order for Boost should be ->coroutine->context-> instead of ->context->coroutine->. Otherwise, you end up with undefined references on Linux machines when using static libraries.