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
martell 2015-02-05 07:17:56 +00:00 committed by jp9000
parent d161f92105
commit 45cec546bd
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ add_library(win-capture MODULE
target_link_libraries(win-capture target_link_libraries(win-capture
libobs libobs
ipc-util ipc-util
psapi.lib) psapi)
install_obs_plugin_with_data(win-capture data) install_obs_plugin_with_data(win-capture data)

View File

@ -24,7 +24,7 @@ add_library(graphics-hook MODULE
${graphics-hook_HEADERS}) ${graphics-hook_HEADERS})
target_link_libraries(graphics-hook target_link_libraries(graphics-hook
ipc-util) ipc-util psapi)
if(CMAKE_SIZEOF_VOID_P EQUAL 8) if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(_output_suffix "64") set(_output_suffix "64")