Skip to content

Commit

Permalink
Fix issues with linking libsodium on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yourWaifu committed Feb 13, 2022
1 parent da75574 commit a300cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleepy_discord/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ if (NOT ONLY_SLEEPY_DISCORD)
if (WIN32 OR SLEEPY_VCPKG)
find_package(unofficial-sodium CONFIG REQUIRED)
list(APPEND REQUIRED_PACKAGES "unofficial-sodium")
list(APPEND LIBRARIES_TO_LINK "unofficial-sodium::sodium" "unofficial-sodium::sodium_config_public")
list(APPEND LIBRARIES_TO_LINK "unofficial-sodium::sodium")
else()
add_dependencies(sleepy-discord libsodium-make)
ExternalProject_Get_property(libsodium-make BINARY_DIR)
Expand Down

0 comments on commit a300cfc

Please sign in to comment.