mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Merge pull request #21985 from kreinholz/master
Fix build when USE_SYSTEM_MINIUPNPC cmake option is enabled.
This commit is contained in:
3 files changed
+7
-1
No files matched your search
@@ -220,6 +220,10 @@ if(USE_SYSTEM_RAPIDJSON)
|
||||
add_compile_definitions(SYSTEM_RAPIDJSON)
|
||||
endif()
|
||||
|
||||
if(USE_SYSTEM_MINIUPNPC)
|
||||
add_compile_definitions(USE_SYSTEM_MINIUPNPC)
|
||||
endif()
|
||||
|
||||
if(WEBOS)
|
||||
set(USING_X11_VULKAN OFF)
|
||||
set(USING_GLES2 ON)
|
||||
|
||||
+1
-1
@@ -179,7 +179,7 @@ endif()
|
||||
if(USE_MINIUPNPC)
|
||||
if(USE_SYSTEM_MINIUPNPC)
|
||||
find_package(MINIUPNPC REQUIRED)
|
||||
add_compile_definitions(WITH_UPNP USE_SYSTEM_MINIUPNPC)
|
||||
add_compile_definitions(WITH_UPNP)
|
||||
else()
|
||||
set (MINIUPNPC_VERSION 2.2) # used by miniupnpcstrings.h.cmake
|
||||
set (MINIUPNPC_API_VERSION 18)
|
||||
|
||||
@@ -931,6 +931,8 @@ std::vector<std::string> System_GetCameraDeviceList() {
|
||||
return __mac_getDeviceList();
|
||||
#elif PPSSPP_PLATFORM(LINUX) && !PPSSPP_PLATFORM(ANDROID)
|
||||
return __v4l_getDeviceList();
|
||||
#else
|
||||
return {};
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user