trailofbits / uthenticode

A cross-platform library for verifying Authenticode signatures
https://trailofbits.github.io/uthenticode/
MIT License
136 stars 33 forks source link

Fix OpenSSL CMake transitive dependencies #38

Closed ekilmer closed 4 years ago

ekilmer commented 4 years ago

After a bit more digging, I think this should be a reasonable fix for letting programs like winchecksec find and compile with OpenSSL without using the (now removed) hacks.

I mostly followed this section in the CMake guide https://cmake.org/cmake/help/v3.18/manual/cmake-packages.7.html#creating-a-package-configuration-file

woodruffw commented 4 years ago

Confirmed that this doesn't break the winchecksec build via vcpkg 🎉