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:
parent
35d42f77d6
commit
e4ff8fab7a
@ -14,7 +14,7 @@ macro(_check_deps_version version)
|
|||||||
if(EXISTS "${path}/share/obs-deps/VERSION")
|
if(EXISTS "${path}/share/obs-deps/VERSION")
|
||||||
if(dependency STREQUAL qt6 AND NOT EXISTS "${path}/lib/cmake/Qt6/Qt6Config.cmake")
|
if(dependency STREQUAL qt6 AND NOT EXISTS "${path}/lib/cmake/Qt6/Qt6Config.cmake")
|
||||||
set(found FALSE)
|
set(found FALSE)
|
||||||
break()
|
continue()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(READ "${path}/share/obs-deps/VERSION" _check_version)
|
file(READ "${path}/share/obs-deps/VERSION" _check_version)
|
||||||
|
Loading…
Reference in New Issue
Block a user