Files
docker/android/Qt5Config.patch
T
2026-05-05 21:58:43 +03:00

19 lines
683 B
Diff

--- Qt5Config.cmake 2020-03-09 19:23:16.000000000 +0300
+++ ./1/Qt5Config.cmake 2020-04-05 15:27:08.135011149 +0300
@@ -25,11 +25,14 @@
include(${CMAKE_CURRENT_LIST_DIR}/Qt5ModuleLocation.cmake)
foreach(module ${Qt5_FIND_COMPONENTS})
- find_package(Qt5${module}
+ set(_ppref_ "${CMAKE_FIND_ROOT_PATH}")
+ set(CMAKE_FIND_ROOT_PATH "/")
+ find_package(Qt5${module}
${_Qt5_FIND_PARTS_QUIET}
${_Qt5_FIND_PARTS_REQUIRED}
PATHS ${_qt5_module_paths} NO_DEFAULT_PATH
)
+ set(CMAKE_FIND_ROOT_PATH "${_ppref_}")
if (NOT Qt5${module}_FOUND)
string(CONFIGURE ${_qt5_module_location_template} _expected_module_location @ONLY)