diff options
Diffstat (limited to '.gitlab/ci/download_qt.cmake')
-rw-r--r-- | .gitlab/ci/download_qt.cmake | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitlab/ci/download_qt.cmake b/.gitlab/ci/download_qt.cmake index 5940a28..90c2187 100644 --- a/.gitlab/ci/download_qt.cmake +++ b/.gitlab/ci/download_qt.cmake @@ -11,7 +11,19 @@ set(qt_version_nodot "${qt_version_major}${qt_version_minor}${qt_version_patch}" # Files needed to download. set(qt_files) -if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows") +if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows.*package") + if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows_x86_64_package") + list(APPEND qt_files "qt-5.12.1-win-x86_64-msvc_v142-1.zip") + set(qt_subdir "qt-5.12.1-win-x86_64-msvc_v142-1") + elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows_i386_package") + list(APPEND qt_files "qt-5.12.1-win-i386-msvc_v142-1.zip") + set(qt_subdir "qt-5.12.1-win-i386-msvc_v142-1") + else () + message(FATAL_ERROR "Unknown arch to use for Qt") + endif() + set(qt_url_root "https://cmake.org/files/dependencies") + set(qt_url_path "") +elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows") # Determine the ABI to fetch for Qt. if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2015") set(qt_platform "windows_x86") |