CMakeList error for windows compile
578141611 opened this issue · 2 comments
578141611 commented
SET(OPENSSL_LIBRARIES "libcrypto libssl") changes to SET(OPENSSL_LIBRARIES libcrypto libssl) will fix this problem
pokowaka commented
Let's fix it!
wdobbe commented
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.