trailofbits / uthenticode

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

Use modern CMake modules with OpenSSL dependency #37

Closed ekilmer closed 4 years ago

ekilmer commented 4 years ago

Testing CMake changes for OpenSSL after some build issues with vcpkg and Visual Studio integration on Windows

ekilmer commented 4 years ago

With this change, there are issues with transitive dependencies in programs that use uthenticode. Closing this for now.

Error for reference from winchecksec

Error

CMake Error at C:/Users/XXXX/vcpkg/scripts/buildsystems/vcpkg.cmake:223 (_add_executable):  
Target "winchecksec-bin" links to target "OpenSSL::Crypto" but the target  was not found.  
Perhaps a find_package() call is missing for an IMPORTED  target, or an ALIAS target is missing?

C:/Users/XXXX/vcpkg/scripts/buildsystems/vcpkg.cmake  223