Join GitHub today
Link curl to the OpenSSL targets instead of lib absolute paths #2753
Linking to targets is preferred to linking directly to libraries, as the whole set of transitive dependencies can be included. Additionally, when exporting the target, we can expose the dependency as a target, and have the downstream dependent project also look for OpenSSL in order to link the target as well, making the dependencies relocatable.
Fixes issue: #2746