fixes for plist_xml data stripping

This commit is contained in:
F. Duncanh
2025-03-23 13:08:02 -04:00
parent eea6f51d8e
commit 012962a109
3 changed files with 51 additions and 24 deletions

View File

@@ -101,7 +101,11 @@ else ()
target_link_libraries ( airplay PUBLIC ${LIBPLIST} )
endif()
if ( PLIST_FOUND )
message( STATUS "found libplist-${PLIST_VERSION}" )
message( STATUS "found libplist-${PLIST_VERSION}")
pkg_check_modules ( PLIST_23 libplist-2.0>=2.3.0 )
if ( PLIST_23_FOUND )
add_definitions( -DPLIST_23 )
endif()
endif()
target_include_directories( airplay PRIVATE ${PLIST_INCLUDE_DIRS} )