mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
Add warning when libslirp is not found
This commit is contained in:
@ -75,8 +75,10 @@ add_compile_definitions(ARCHIVE_SUPPORT_ENABLED)
|
||||
|
||||
if (SLIRP_FOUND)
|
||||
option(ENABLE_LIBSLIRP "Enable use of libslirp for network sockets" ON)
|
||||
message(STATUS "libslirp found, and libslirp support is enabled")
|
||||
else()
|
||||
option(ENABLE_LIBSLIRP "Enable use of libslirp for network sockets" OFF)
|
||||
message(WARNING libslirp not found, building without libslirp support!")
|
||||
endif()
|
||||
|
||||
if (WIN32 AND (CMAKE_BUILD_TYPE STREQUAL Release))
|
||||
|
Reference in New Issue
Block a user