Add advapi32 to linked libraries (#140)

Required by `RegCreateKeyExW` and others.
This commit is contained in:
Michał Janiszewski 2018-03-13 21:00:47 +01:00 committed by Mason Sciotti
parent d9caf72e9a
commit d279c24c6a

View file

@ -55,7 +55,7 @@ if(WIN32)
/wd5027 # move assignment operator was implicitly defined as deleted
)
endif(MSVC)
target_link_libraries(discord-rpc PRIVATE psapi)
target_link_libraries(discord-rpc PRIVATE psapi advapi32)
endif(WIN32)
if(UNIX)