Fix linking with glibc wraps.
This commit is contained in:
parent
a3f3a38915
commit
d1c4976d3d
2 changed files with 10 additions and 2 deletions
6
external/openssl/CMakeLists.txt
vendored
6
external/openssl/CMakeLists.txt
vendored
|
|
@ -48,7 +48,11 @@ INTERFACE
|
||||||
|
|
||||||
if (LINUX)
|
if (LINUX)
|
||||||
if (DESKTOP_APP_USE_GLIBC_WRAPS)
|
if (DESKTOP_APP_USE_GLIBC_WRAPS)
|
||||||
target_link_libraries(external_openssl INTERFACE desktop-app::linux_glibc_wraps)
|
target_link_libraries(external_openssl
|
||||||
|
INTERFACE
|
||||||
|
desktop-app::linux_glibc_wraps
|
||||||
|
$<TARGET_FILE:desktop-app::linux_glibc_wraps>
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(external_openssl INTERFACE pthread)
|
target_link_libraries(external_openssl INTERFACE pthread)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
6
external/qt/CMakeLists.txt
vendored
6
external/qt/CMakeLists.txt
vendored
|
|
@ -198,7 +198,11 @@ if (LINUX)
|
||||||
icudata
|
icudata
|
||||||
)
|
)
|
||||||
if (DESKTOP_APP_USE_GLIBC_WRAPS)
|
if (DESKTOP_APP_USE_GLIBC_WRAPS)
|
||||||
target_link_libraries(external_qt INTERFACE desktop-app::linux_glibc_wraps)
|
target_link_libraries(external_qt
|
||||||
|
INTERFACE
|
||||||
|
desktop-app::linux_glibc_wraps
|
||||||
|
$<TARGET_FILE:desktop-app::linux_glibc_wraps>
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(external_qt
|
target_link_libraries(external_qt
|
||||||
INTERFACE
|
INTERFACE
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue