From ecb095f5768f102f997004180a16f9e47d4a8d23 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Sat, 15 Oct 2016 16:22:58 -0700 Subject: [PATCH] CMake: Fix macOS compile by always setting LIBUSB_FOUND=true Without this, compilation complains about undefined symbols related to `CWII_IPC_HLE_Device_hid` and `CWII_IPC_HLE_Device_usb_oh1_57e_305_real`. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 656198e12452..80e300033ac4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -749,6 +749,7 @@ if(NOT ANDROID) add_subdirectory(Externals/libusb) set(LIBUSB_LIBRARIES usb) endif() + set(LIBUSB_FOUND true) endif() set(SFML_REQD_VERSION 2.1)