From e4ff8fab7a0a7d50d70606e6851bb48ee4782d39 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Fri, 7 Apr 2023 20:36:13 +0200 Subject: [PATCH] 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. --- cmake/macos/buildspec.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/macos/buildspec.cmake b/cmake/macos/buildspec.cmake index 3aa2a4efd..9562de572 100644 --- a/cmake/macos/buildspec.cmake +++ b/cmake/macos/buildspec.cmake @@ -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)