From 909a3e32ef34f8a7d9e5d02b8cf496413b06b5fd Mon Sep 17 00:00:00 2001 From: Matti Niemenmaa Date: Thu, 22 Jun 2023 13:08:15 +0300 Subject: [PATCH] cmake: Fix celt cache variables The FetchDependency calls in cmake/dependencies/celt.cmake use the names CELT_0061 and CELT_0110. The underscores after CELT are needed here to match, otherwise it's not possible to override the paths and the CELT0* variables end up being unused. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b60f21c..f34fe127 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,8 +75,8 @@ if(NOT WIN32) set(G719_PATH CACHE PATH "Path to G.719 decoder") set(ATRAC9_PATH CACHE PATH "Path to LibAtrac9") set(SPEEX_PATH CACHE PATH "Path to SPEEX") - set(CELT0061_PATH CACHE PATH "Path to CELT version 0.6.1") - set(CELT0110_PATH CACHE PATH "Path to CELT version 0.11.0") + set(CELT_0061_PATH CACHE PATH "Path to CELT version 0.6.1") + set(CELT_0110_PATH CACHE PATH "Path to CELT version 0.11.0") set(LIBAO_PATH CACHE PATH "Path to libao") set(JANSSON_PATH CACHE PATH "Path to jansson") endif()