win-capture: fix link libs for mingw-w64
win-capture should not postfix .lib to psapi. The graphics hook also requires psapi when linking. Also change some link libs as mingw-w64 libraries are not postfixed .lib.master
parent
d161f92105
commit
45cec546bd
|
@ -26,7 +26,7 @@ add_library(win-capture MODULE
|
|||
target_link_libraries(win-capture
|
||||
libobs
|
||||
ipc-util
|
||||
psapi.lib)
|
||||
psapi)
|
||||
|
||||
install_obs_plugin_with_data(win-capture data)
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ add_library(graphics-hook MODULE
|
|||
${graphics-hook_HEADERS})
|
||||
|
||||
target_link_libraries(graphics-hook
|
||||
ipc-util)
|
||||
ipc-util psapi)
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(_output_suffix "64")
|
||||
|
|
Loading…
Reference in New Issue