mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
cmake: Silence warnings.
This commit is contained in:
parent
67761c7d31
commit
2bfbc4d79f
@ -6,7 +6,7 @@
|
||||
#
|
||||
# vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
include(FindPkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules (BlueZ_PKG QUIET bluez)
|
||||
|
||||
find_path(BlueZ_INCLUDE_DIR NAMES bluetooth/bluetooth.h
|
||||
|
@ -27,7 +27,7 @@ set(LIBEVDEV_LIBRARIES ${LIBEVDEV_LIBRARY} )
|
||||
set(LIBEVDEV_INCLUDE_DIRS ${LIBEVDEV_INCLUDE_DIR} )
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(libevdev DEFAULT_MSG
|
||||
find_package_handle_standard_args(LIBEVDEV DEFAULT_MSG
|
||||
LIBEVDEV_LIBRARY LIBEVDEV_INCLUDE_DIR)
|
||||
|
||||
mark_as_advanced(LIBEVDEV_INCLUDE_DIR LIBEVDEV_LIBRARY )
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
include(FindPkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules (PulseAudio_PKG QUIET libpulse)
|
||||
|
||||
find_path(PulseAudio_INCLUDE_DIR NAMES pulse/pulseaudio.h
|
||||
|
@ -1,5 +1,6 @@
|
||||
include(FindPkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules(PC_SYSTEMD QUIET "libsystemd")
|
||||
|
||||
if (PC_SYSTEMD_FOUND)
|
||||
add_definitions(${PC_SYSTEMD_CFLAGS} ${PC_SYSTEMD_CFLAGS_OTHER})
|
||||
endif(PC_SYSTEMD_FOUND)
|
@ -485,8 +485,8 @@ if(OPROFILING)
|
||||
endif()
|
||||
|
||||
if(ENABLE_EVDEV)
|
||||
find_package(Libudev REQUIRED)
|
||||
find_package(Libevdev REQUIRED)
|
||||
find_package(LIBUDEV REQUIRED)
|
||||
find_package(LIBEVDEV REQUIRED)
|
||||
if(LIBUDEV_FOUND AND LIBEVDEV_FOUND)
|
||||
message(STATUS "libevdev/libudev found, enabling evdev controller backend")
|
||||
add_definitions(-DHAVE_LIBUDEV=1)
|
||||
@ -679,7 +679,7 @@ endif()
|
||||
add_subdirectory(Externals/soundtouch)
|
||||
include_directories(Externals/soundtouch)
|
||||
|
||||
find_package(Cubeb)
|
||||
find_package(CUBEB)
|
||||
if(CUBEB_FOUND)
|
||||
message(STATUS "Using the system cubeb")
|
||||
else()
|
||||
@ -721,7 +721,7 @@ endif()
|
||||
|
||||
if(USE_UPNP)
|
||||
if(NOT APPLE)
|
||||
find_package(Miniupnpc)
|
||||
find_package(MINIUPNPC)
|
||||
endif()
|
||||
if(MINIUPNPC_FOUND AND MINIUPNPC_API_VERSION GREATER 8)
|
||||
message(STATUS "Using shared miniupnpc")
|
||||
@ -734,7 +734,7 @@ if(USE_UPNP)
|
||||
endif()
|
||||
|
||||
if(NOT APPLE)
|
||||
find_package(MbedTLS)
|
||||
find_package(MBEDTLS)
|
||||
endif()
|
||||
if(MBEDTLS_FOUND)
|
||||
message(STATUS "Using shared mbed TLS")
|
||||
@ -789,7 +789,7 @@ if(USE_DISCORD_PRESENCE)
|
||||
include_directories(Externals/discord-rpc/include)
|
||||
endif()
|
||||
|
||||
find_package(Libsystemd)
|
||||
find_package(SYSTEMD)
|
||||
if(SYSTEMD_FOUND)
|
||||
message(STATUS "libsystemd found, enabling traversal server watchdog support")
|
||||
add_definitions(-DHAVE_LIBSYSTEMD)
|
||||
|
@ -49,7 +49,7 @@ if(ENABLE_PULSEAUDIO)
|
||||
# PulseAudio ships with a PulseAudioConfig.cmake with no imported target
|
||||
# So we use our own FindPulseAudio instead with "MODULE"
|
||||
find_package(PulseAudio MODULE QUIET)
|
||||
if(PULSEAUDIO_FOUND)
|
||||
if(PulseAudio_FOUND)
|
||||
message(STATUS "PulseAudio found, enabling PulseAudio sound backend")
|
||||
target_sources(audiocommon PRIVATE
|
||||
PulseAudioStream.cpp
|
||||
|
@ -635,7 +635,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
option(ENABLE_BLUEZ "Enables bluetooth support" ON)
|
||||
if(ENABLE_BLUEZ)
|
||||
find_package(BlueZ)
|
||||
if(BLUEZ_FOUND)
|
||||
if(BlueZ_FOUND)
|
||||
message(STATUS "BlueZ found, enabling bluetooth support")
|
||||
target_sources(core PRIVATE
|
||||
HW/WiimoteReal/IOLinux.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user