build: Allow Linux builds to be made without Bluez (#1579)
Some checks failed
Generate translation template / generate-pot (push) Failing after 1s
Build check / build (push) Has been cancelled

This commit is contained in:
capitalistspz 2025-05-28 14:18:01 +01:00 committed by GitHub
parent 7168d20cde
commit 02616bf6be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -225,7 +225,7 @@ void PairingDialog::WorkerThread()
BluetoothFindDeviceClose(deviceFind);
}
}
#elif BOOST_OS_LINUX
#elif defined(HAS_BLUEZ)
void PairingDialog::WorkerThread()
{
constexpr static uint8_t LIAC_LAP[] = {0x00, 0x8b, 0x9e};

View file

@ -104,6 +104,6 @@ if (ENABLE_WXWIDGETS)
endif()
if (UNIX AND NOT APPLE)
if (ENABLE_BLUEZ)
target_link_libraries(CemuInput PRIVATE bluez::bluez)
endif ()