jwt-cpp icon indicating copy to clipboard operation
jwt-cpp copied to clipboard

CMakeList error for windows compile

Open 578141611 opened this issue 5 years ago • 2 comments

SET(OPENSSL_LIBRARIES "libcrypto libssl") changes to SET(OPENSSL_LIBRARIES libcrypto libssl) will fix this problem

578141611 avatar Jun 26 '19 14:06 578141611

Let's fix it!

pokowaka avatar Jun 27 '19 02:06 pokowaka

Another problem here is that when OpenSSL is built in debug mode the library names are libcryptod and libssld. Because of this linking with the jwt-cpp library fails when using a debug version of OpenSSL. To avoid this it is better not to hardcode the library names but use the findOpenSSL.cmake module that is distributed with cmake. Will handle this further via issue #34.

wdobbe avatar Oct 30 '19 18:10 wdobbe