mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD
This commit is contained in:
parent
0909f5e99a
commit
0570c22001
|
|
@ -145,7 +145,6 @@ elseif(WIN32)
|
||||||
message(FATAL_ERROR "-- You need to build the dependencies in ./external first")
|
message(FATAL_ERROR "-- You need to build the dependencies in ./external first")
|
||||||
endif()
|
endif()
|
||||||
elseif(NOT EMSCRIPTEN AND NOT ANDROID AND NOT IOS)
|
elseif(NOT EMSCRIPTEN AND NOT ANDROID AND NOT IOS)
|
||||||
find_package(Bluez REQUIRED)
|
|
||||||
find_package(CURL REQUIRED)
|
find_package(CURL REQUIRED)
|
||||||
find_package(FFmpeg REQUIRED)
|
find_package(FFmpeg REQUIRED)
|
||||||
find_package(FreeImage REQUIRED)
|
find_package(FreeImage REQUIRED)
|
||||||
|
|
@ -166,6 +165,7 @@ endif()
|
||||||
# Add ALSA for Linux.
|
# Add ALSA for Linux.
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES Linux)
|
if(CMAKE_SYSTEM_NAME MATCHES Linux)
|
||||||
find_package(ALSA REQUIRED)
|
find_package(ALSA REQUIRED)
|
||||||
|
find_package(Bluez REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue