FD- / RPiPlay

An open-source AirPlay mirroring server for the Raspberry Pi. Supports iOS 9 and up.
GNU General Public License v3.0
4.93k stars 353 forks source link

libplist library name can be either `plist` or `plist-2.0` #182

Closed tovrstra closed 3 years ago

tovrstra commented 3 years ago

I had to modify the file lib/CMakeLists.txt as follows to make the compilation work:

diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index e7071a5..233c752 100755
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -9,7 +9,7 @@ add_library( airplay
         ${DIR_SRCS}
         )

-find_library( LIBPLIST plist )
+find_library( LIBPLIST plist-2.0 )

 target_link_libraries( airplay
            pthread

I'm using Fedora 33 with libplist-2.2.0. It would be helpful to support both library names.

pallas commented 3 years ago

Fixed