From eaf006d60676146455b227662a78317b7a82d4c7 Mon Sep 17 00:00:00 2001 From: Exzap <13877693+Exzap@users.noreply.github.com> Date: Mon, 13 Mar 2023 03:43:13 +0100 Subject: [PATCH] Dont find_package cubeb in vcpkg mode --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03cfc26f..c45ea34c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,7 +144,9 @@ if (ENABLE_WXWIDGETS) endif() if (ENABLE_CUBEB) + if (NOT ENABLE_VCPKG) find_package(cubeb) + endif() if (NOT cubeb_FOUND) option(BUILD_TESTS "" OFF) option(BUILD_TOOLS "" OFF)