diff --git a/CMakeLists.txt b/CMakeLists.txt index d3cabf06c66..028112d42e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()