0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

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.
This commit is contained in:
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
libobs
ipc-util
psapi.lib)
psapi)
install_obs_plugin_with_data(win-capture data)

View File

@ -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")