summaryrefslogtreecommitdiff
path: root/externals/libusb
diff options
context:
space:
mode:
Diffstat (limited to 'externals/libusb')
-rw-r--r--externals/libusb/CMakeLists.txt3
-rw-r--r--externals/libusb/config.h.in5
2 files changed, 8 insertions, 0 deletions
diff --git a/externals/libusb/CMakeLists.txt b/externals/libusb/CMakeLists.txt
index 12bdc097a..055b89295 100644
--- a/externals/libusb/CMakeLists.txt
+++ b/externals/libusb/CMakeLists.txt
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2020 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE) 4if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE)
2 set(LIBUSB_FOUND ON CACHE BOOL "libusb is present" FORCE) 5 set(LIBUSB_FOUND ON CACHE BOOL "libusb is present" FORCE)
3 set(LIBUSB_VERSION "1.0.24" CACHE STRING "libusb version string" FORCE) 6 set(LIBUSB_VERSION "1.0.24" CACHE STRING "libusb version string" FORCE)
diff --git a/externals/libusb/config.h.in b/externals/libusb/config.h.in
index 915b7390f..42ae5a5e8 100644
--- a/externals/libusb/config.h.in
+++ b/externals/libusb/config.h.in
@@ -1,3 +1,8 @@
1/*
2 * SPDX-FileCopyrightText: 2020 yuzu Emulator Project
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
1/* Default visibility */ 6/* Default visibility */
2#if defined(__GNUC__) || defined(__clang__) 7#if defined(__GNUC__) || defined(__clang__)
3 #define DEFAULT_VISIBILITY __attribute__((visibility("default"))) 8 #define DEFAULT_VISIBILITY __attribute__((visibility("default")))