mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-18 15:32:06 +00:00
Merge pull request #5937 from ligfx/miniupnpccmake
CMake: use miniupnpc target instead of global vars
This commit is contained in:
commit
08004d409e
4 changed files with 14 additions and 6 deletions
|
@ -120,6 +120,10 @@ endif()
|
|||
|
||||
add_dolphin_library(common "${SRCS}" "${LIBS}")
|
||||
|
||||
if(USE_UPNP)
|
||||
target_link_libraries(common PRIVATE Miniupnpc::miniupnpc)
|
||||
endif()
|
||||
|
||||
if(OPROFILE_FOUND)
|
||||
target_link_libraries(common PRIVATE ${OPROFILE_LIBRARIES})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue