Dont find_package cubeb in vcpkg mode

This commit is contained in:
Exzap 2023-03-13 03:43:13 +01:00
parent e803c6be47
commit eaf006d606

View File

@ -144,7 +144,9 @@ if (ENABLE_WXWIDGETS)
endif() endif()
if (ENABLE_CUBEB) if (ENABLE_CUBEB)
if (NOT ENABLE_VCPKG)
find_package(cubeb) find_package(cubeb)
endif()
if (NOT cubeb_FOUND) if (NOT cubeb_FOUND)
option(BUILD_TESTS "" OFF) option(BUILD_TESTS "" OFF)
option(BUILD_TOOLS "" OFF) option(BUILD_TOOLS "" OFF)