From 0570c22001088a032e69e8dc120fa4de1ae6d62f Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 24 Feb 2025 21:42:01 +0100 Subject: [PATCH] Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c797003f..c29ef172e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,7 +145,6 @@ elseif(WIN32) message(FATAL_ERROR "-- You need to build the dependencies in ./external first") endif() elseif(NOT EMSCRIPTEN AND NOT ANDROID AND NOT IOS) - find_package(Bluez REQUIRED) find_package(CURL REQUIRED) find_package(FFmpeg REQUIRED) find_package(FreeImage REQUIRED) @@ -166,6 +165,7 @@ endif() # Add ALSA for Linux. if(CMAKE_SYSTEM_NAME MATCHES Linux) find_package(ALSA REQUIRED) + find_package(Bluez REQUIRED) endif() #---------------------------------------------------------------------------------------------------