mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
UI/updater: Explicitly set PSAPI_VERSION=2
If the user didn't set their minimum SDK level this would default to
PSAPI_VERSION=1 which requires psapi.lib (removed in 4614c057
).
This commit is contained in:
parent
b37acbcbc1
commit
10446c1a0b
|
@ -32,7 +32,7 @@ set(updater_SOURCES
|
|||
updater.manifest
|
||||
)
|
||||
|
||||
add_definitions(-DNOMINMAX -DUNICODE -D_UNICODE)
|
||||
add_definitions(-DNOMINMAX -DUNICODE -D_UNICODE -DPSAPI_VERSION=2)
|
||||
if(MSVC)
|
||||
add_compile_options($<IF:$<CONFIG:Debug>,/MTd,/MT>)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue