summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7442de4f6f..934b5930e6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2622,9 +2622,9 @@ endif()
# WavPack audio file support
find_package(wavpack)
-option(WAVPACK "WavPack audio file support" OFF)
+cmake_dependent_option(BULK "WavPack audio file support" ON "wavpack_FOUND" OFF)
if(WAVPACK)
- if(NOT TARGET WavPack::wavpack)
+ if(NOT wavpack_FOUND)
message(FATAL_ERROR "WavPack audio file support requires libwv and its development headers.")
endif()
target_sources(mixxx-lib PRIVATE src/sources/soundsourcewv.cpp)