mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-06 19:01:36 +03:00
CMake: use miniupnpc target instead of global vars
This commit is contained in:
parent
26f5d500b9
commit
fc306faad8
2 changed files with 4 additions and 4 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