Add advapi32 to linked libraries (#140)
Required by `RegCreateKeyExW` and others.
This commit is contained in:
parent
d9caf72e9a
commit
d279c24c6a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue