mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50: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)
|
if (SLIRP_FOUND)
|
||||||
option(ENABLE_LIBSLIRP "Enable use of libslirp for network sockets" ON)
|
option(ENABLE_LIBSLIRP "Enable use of libslirp for network sockets" ON)
|
||||||
|
message(STATUS "libslirp found, and libslirp support is enabled")
|
||||||
else()
|
else()
|
||||||
option(ENABLE_LIBSLIRP "Enable use of libslirp for network sockets" OFF)
|
option(ENABLE_LIBSLIRP "Enable use of libslirp for network sockets" OFF)
|
||||||
|
message(WARNING libslirp not found, building without libslirp support!")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WIN32 AND (CMAKE_BUILD_TYPE STREQUAL Release))
|
if (WIN32 AND (CMAKE_BUILD_TYPE STREQUAL Release))
|
||||||
|
Reference in New Issue
Block a user