From 0d2346a1d3da9f2330603a48de6b5fc0c9ae9214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kotiuk?= Date: Sun, 27 Oct 2024 15:26:33 +0100 Subject: [PATCH] chore: remove libEGL library from QT6 release https://doc.qt.io/qt-6/opengl-changes-qt6.html#removal-of-angle --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5377093fe..533491bb7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -714,13 +714,19 @@ if(WIN32) "${CMAKE_CURRENT_BINARY_DIR}/bin/Qt${QT_VERSION_MAJOR}Concurrent.dll" "${CMAKE_CURRENT_BINARY_DIR}/bin/Qt${QT_VERSION_MAJOR}Network.dll" "${CMAKE_CURRENT_BINARY_DIR}/bin/Qt${QT_VERSION_MAJOR}Widgets.dll" - "${CMAKE_CURRENT_BINARY_DIR}/bin/libEGL.dll" "${SDL2_DLL_LOCATION_DIR}/SDL2.dll" "${GCC_DLL}/libgcc_s_seh-1.dll" "${PTHREAD_DLL_DIR}/libwinpthread-1.dll" "${LIBCPP_DLL_DIR}/libstdc++-6.dll" ) + if(QT_VERSION_MAJOR EQUAL 5) + list(APPEND DLL_FILES + "${CMAKE_CURRENT_BINARY_DIR}/bin/libEGL.dll" + ) + endif(QT_VERSION_MAJOR EQUAL 5) + + if(CHECK_FOR_UPDATES) message("Searching for SSL DLL-s.") find_path(LIBCRYPTO_DLL_DIR "libcrypto-1_1-x64.dll" HINTS "${SDL2_LIBRARY_DIRS}/../bin")