mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 21:29:08 +08:00
[qt5] Fix regression from dd6d1aa5
. When building a static triplet, repeat the build on failure.
This commit is contained in:
parent
3eb0526468
commit
e3d9627757
@ -86,7 +86,14 @@ vcpkg_execute_required_process(
|
||||
message(STATUS "Configure ${TARGET_TRIPLET} done")
|
||||
|
||||
message(STATUS "Building ${TARGET_TRIPLET}")
|
||||
vcpkg_execute_required_process(
|
||||
# Multiple executions are required due to https://bugreports.qt.io/browse/QTBUG-53393
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
set(COUNT 1)
|
||||
else()
|
||||
set(COUNT 3)
|
||||
endif()
|
||||
vcpkg_execute_required_process_repeat(
|
||||
COUNT ${COUNT}
|
||||
COMMAND ${JOM}
|
||||
WORKING_DIRECTORY ${OUTPUT_PATH}
|
||||
LOGNAME build-${TARGET_TRIPLET}
|
||||
|
Loading…
Reference in New Issue
Block a user