Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-11-26 23:01:02 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2023-11-26 23:01:02 +1100
commitac66491b3ff1c816cfbe7e2a89dadc84db8641fa (patch)
treeb88cb92b49975e4ddb5b58a86c55e257a132e0a7 /source
parent8181cff72e7f79296548eb75000746cae34bf032 (diff)
fix Opus options (the right way)
Diffstat (limited to 'source')
-rw-r--r--source/CMakeLists.txt1
-rw-r--r--source/extern/CMakeLists.txt1
2 files changed, 1 insertions, 1 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 2841baa..18f3c45 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -1,5 +1,4 @@
CMAKE_MINIMUM_REQUIRED (VERSION 3.16)
-SET (CMAKE_POLICY_DEFAULT_CMP0077 OLD)
# Find CCache
FIND_PROGRAM(CCACHE_PATH ccache)
diff --git a/source/extern/CMakeLists.txt b/source/extern/CMakeLists.txt
index a4c193c..bc57870 100644
--- a/source/extern/CMakeLists.txt
+++ b/source/extern/CMakeLists.txt
@@ -1,3 +1,4 @@
+set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
SET (OPUS_INSTALL_PKG_CONFIG_MODULE OFF)
SET (OPUS_INSTALL_CMAKE_CONFIG_MODULE OFF)
SET (OPUS_X86_MAY_HAVE_SSE ON)