Merge pull request #472 from naxuroqa/master

Build fails when SHARED_TOXCORE flag is set in cmake
This commit is contained in:
irungentoo 2013-08-16 03:36:12 -07:00
commit 03d69140e9
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ else()
include_directories(${SODIUM_INCLUDE_DIR})
set(LINK_CRYPTO_LIBRARY ${SODIUM_LIBRARY})
set(LINK_CRYPTO_LIBRARY ${SODIUM_LIBRARIES})
endif()
#MinGW prints more warnings for -Wall than gcc does, thus causing build to fail

View File

@ -54,8 +54,8 @@ endif()
find_library(SODIUM_LIBRARY
NAMES
${WIN32_LIBSODIUM_FILENAME}
sodium
${WIN32_LIBSODIUM_FILENAME}
PATHS
${SODIUM_ROOT_DIR}/lib
)