Wrong link order in CMakeLists.txt
independent9100 opened this issue · 0 comments
independent9100 commented
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.