Skip to content

Commit 02616bf

Browse files
build: Allow Linux builds to be made without Bluez (#1579)
1 parent 7168d20 commit 02616bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gui/input/PairingDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ void PairingDialog::WorkerThread()
225225
BluetoothFindDeviceClose(deviceFind);
226226
}
227227
}
228-
#elif BOOST_OS_LINUX
228+
#elif defined(HAS_BLUEZ)
229229
void PairingDialog::WorkerThread()
230230
{
231231
constexpr static uint8_t LIAC_LAP[] = {0x00, 0x8b, 0x9e};

src/input/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ if (ENABLE_WXWIDGETS)
104104
endif()
105105

106106

107-
if (UNIX AND NOT APPLE)
107+
if (ENABLE_BLUEZ)
108108
target_link_libraries(CemuInput PRIVATE bluez::bluez)
109109
endif ()

0 commit comments

Comments
 (0)