[DO-981] qt package (!15)
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/15
This commit is contained in:
15
recipes/qt/6.x.x/patches/qt6-pri-helpers-fix.diff
Normal file
15
recipes/qt/6.x.x/patches/qt6-pri-helpers-fix.diff
Normal file
@@ -0,0 +1,15 @@
|
||||
--- QtPriHelpers.cmake.original 2021-08-03 23:38:06.343653948 +0300
|
||||
+++ QtPriHelpers.cmake 2021-08-03 23:26:24.483637483 +0300
|
||||
@@ -30,7 +30,11 @@
|
||||
if(lib_target_type STREQUAL "INTERFACE_LIBRARY")
|
||||
get_target_property(iface_libs ${lib_target} INTERFACE_LINK_LIBRARIES)
|
||||
if(iface_libs)
|
||||
- list(PREPEND lib_targets ${iface_libs})
|
||||
+ foreach (iface_lib ${iface_libs})
|
||||
+ if (NOT "${iface_lib}" STREQUAL "${lib_target}")
|
||||
+ list(PREPEND lib_targets ${iface_lib})
|
||||
+ endif ()
|
||||
+ endforeach ()
|
||||
endif()
|
||||
else()
|
||||
list(APPEND lib_libs "$<TARGET_LINKER_FILE:${lib_target}>")
|
||||
Reference in New Issue
Block a user