Files
ppsspp/Core
Henrik RydgårdandClaude Sonnet 5 688eb99a53 Fix miniUPnPc add_compile_definitions ordering in Core/CMakeLists.txt
Same class of bug as the USE_DISCORD fix: add_compile_definitions() only
affects targets created after the call, but the whole USE_MINIUPNPC block
sat after add_library(Core STATIC ...). That meant Core/Util/PortManager.cpp,
built as part of that same add_library call, never actually saw WITH_UPNP
or any of the other miniupnpc defines - UPnP support was silently compiled
out on every platform.

Split the block: compile definitions and the miniupnpc source-file/include
setup now run before add_library(Core STATIC ...), while building the
bundled miniupnpc target and linking it into Core (which needs the Core
target to already exist) stays after, in its original spot.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PSNaZnHCjmryS3ziVN9gZU
2026-07-24 20:16:07 +02:00
..
2026-06-02 11:15:08 +02:00
…
2026-07-21 14:00:02 +02:00
…
2026-06-12 17:28:52 +02:00
…
…
…
2026-06-24 23:04:17 +02:00
2026-04-07 20:52:38 -06:00
2026-05-19 13:59:04 +02:00
2026-06-02 17:16:45 +02:00
2026-07-23 15:04:04 -04:00