Merge pull request #112 from vkedwardli/fix-macos-cmake

Fixes Github macOS build
This commit is contained in:
flyinghead 2020-09-07 22:27:22 +02:00 committed by GitHub
commit a9f1a896c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ else()
endif()
find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND AND NOT ANDROID)
if(PKG_CONFIG_FOUND AND NOT ANDROID AND NOT APPLE)
pkg_search_module(AO ao)
if(AO_FOUND)
target_compile_definitions(${PROJECT_NAME} PRIVATE USE_LIBAO)