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)