mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-23 19:29:49 +00:00
[Qt5] Fix libpq linkage in wrapper (#7973)
* PostgreSQL_LIBRARY will contain optimized/debug keywords which will not work in INTERFACE_LINK_LIBRARIES
This commit is contained in:
parent
82a6235770
commit
7dfb48ed5a
@ -1,5 +1,5 @@
|
||||
Source: qt5-base
|
||||
Version: 5.12.3-3
|
||||
Version: 5.12.3-4
|
||||
Homepage: https://www.qt.io/
|
||||
Description: Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.
|
||||
Build-Depends: zlib, libjpeg-turbo, libpng, freetype, pcre2, harfbuzz, sqlite3, libpq, double-conversion, openssl
|
||||
|
@ -23,11 +23,12 @@ if("${_target_type}" STREQUAL "STATIC_LIBRARY")
|
||||
|
||||
set_property(TARGET Qt5::Core APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
||||
ZLIB::ZLIB JPEG::JPEG PNG::PNG Freetype::Freetype sqlite3 harfbuzz::harfbuzz
|
||||
${PostgreSQL_LIBRARY} double-conversion::double-conversion OpenSSL::SSL OpenSSL::Crypto
|
||||
double-conversion::double-conversion OpenSSL::SSL OpenSSL::Crypto
|
||||
)
|
||||
|
||||
add_qt_library(Qt5::Core
|
||||
pcre2-16
|
||||
libpq
|
||||
Qt5ThemeSupport
|
||||
Qt5EventDispatcherSupport
|
||||
Qt5PlatformCompositorSupport
|
||||
|
Loading…
Reference in New Issue
Block a user