aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Coutinho <[email protected]>2022-09-05 02:09:14 -0300
committerGitHub <[email protected]>2022-09-04 22:09:14 -0700
commitee3142d4d605eac7e7c5f6d4df87ec5e3b345d29 (patch)
tree576908a80033090c72722c76322f9660bef8f175
parent92d135de3c5ef80f9d8e7d453f23954d47e46489 (diff)
tvos support (#762)
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aea0f293..629ff201 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1088,7 +1088,7 @@ if(COREAUDIO_FRAMEWORK AND AUDIOUNIT_INCLUDE_DIR)
set(BACKENDS "${BACKENDS} CoreAudio,")
set(EXTRA_LIBS -Wl,-framework,CoreAudio ${EXTRA_LIBS})
- if(CMAKE_SYSTEM_NAME STREQUAL "iOS")
+ if(CMAKE_SYSTEM_NAME MATCHES "^(iOS|tvOS)$")
find_library(COREFOUNDATION_FRAMEWORK NAMES CoreFoundation)
if(COREFOUNDATION_FRAMEWORK)
set(EXTRA_LIBS -Wl,-framework,CoreFoundation ${EXTRA_LIBS})