Fix Windows linker and runtime errors when building against static Qt

This commit is contained in:
Janek Bevendorff 2017-01-26 01:15:12 +01:00
parent 1310b34e9c
commit 292ed892c1
No known key found for this signature in database
GPG key ID: CFEC2F6850BFFA53
5 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,9 @@
find_path(GPGERROR_INCLUDE_DIR gpg-error.h)
find_library(GPGERROR_LIBRARIES gpg-error)
mark_as_advanced(GPGERROR_LIBRARIES GPGERROR_INCLUDE_DIR)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LibGPGError DEFAULT_MSG GPGERROR_LIBRARIES GPGERROR_INCLUDE_DIR)