Skip to content

Commit

Permalink
[cmake] Drop support for shairport, fix shairplay
Browse files Browse the repository at this point in the history
- Drop support for shairport as it is not compatible anymore
  and has been dropped also from other buildsystems
- Shairplay is an optional dynamically loaded dependency
  • Loading branch information
fetzerch authored and FernetMenta committed Feb 3, 2016
1 parent 34198d1 commit 248ff2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
5 changes: 2 additions & 3 deletions project/cmake/CMakeLists.txt
Expand Up @@ -161,9 +161,8 @@ if(ENABLE_OPTICAL)
core_require_dep(Cdio)
endif()

core_optional_dep(Shairplay ENABLE_AIRTUNES)
if(NOT SHAIRPLAY_FOUND)
core_optional_dep(Shairport ENABLE_AIRTUNES)
if(ENABLE_AIRTUNES)
core_require_dyload_dep(Shairplay)
endif()

if(NOT WIN32)
Expand Down
21 changes: 0 additions & 21 deletions project/cmake/modules/FindShairport.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion xbmc/network/CMakeLists.txt
Expand Up @@ -19,7 +19,7 @@ if(PLIST_FOUND)
list(APPEND SOURCES AirPlayServer.cpp)
endif()

if(SHAIRPLAY_FOUND OR SHAIRPORT_FOUND)
if(SHAIRPLAY_FOUND)
list(APPEND SOURCES AirTunesServer.cpp)
endif()

Expand Down

0 comments on commit 248ff2f

Please sign in to comment.