0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

cmake: Fix discovery of existing pre-built dependencies

As there will be multiple directories containing obs-deps (non-Qt and
Qt variants), the search needs to continue after a first failed attempt
and not abort it entirely.
This commit is contained in:
PatTheMav 2023-04-07 20:36:13 +02:00 committed by Jim
parent 35d42f77d6
commit e4ff8fab7a

View File

@ -14,7 +14,7 @@ macro(_check_deps_version version)
if(EXISTS "${path}/share/obs-deps/VERSION")
if(dependency STREQUAL qt6 AND NOT EXISTS "${path}/lib/cmake/Qt6/Qt6Config.cmake")
set(found FALSE)
break()
continue()
endif()
file(READ "${path}/share/obs-deps/VERSION" _check_version)