Skip to content

Commit

Permalink
cleanup: Remove redundant -DSODIUM_EXPORT from definitions.
Browse files Browse the repository at this point in the history
`-DSODIUM_STATIC` implies `-DSODIUM_EXPORT`.
  • Loading branch information
iphydf committed Sep 11, 2023
1 parent 0cef46e commit 7de976b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ endif()
if(MSVC)
option(MSVC_STATIC_SODIUM "Whether to link libsodium statically for MSVC" OFF)
if(MSVC_STATIC_SODIUM)
add_definitions(-DSODIUM_STATIC=1 -DSODIUM_EXPORT)
add_definitions(-DSODIUM_STATIC=1)
endif()
endif()

Expand Down

0 comments on commit 7de976b

Please sign in to comment.