From 881daf545a1b48d149b6a5bc68d0967a9595b3f4 Mon Sep 17 00:00:00 2001 From: fduncanh Date: Sat, 20 Nov 2021 23:30:14 -0500 Subject: [PATCH] link library fixes for FreeBSD --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d6e8d25..e3daf6d 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,11 @@ else() ) endif() +if (BSD ) + target_link_directories( uxplay PUBLIC /usr/local/lib ) + target_link_libraries( uxplay ${PLIST_LIBRARIES}) +endif() + target_link_libraries( uxplay renderers airplay