mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fix for issue 472
This commit is contained in:
parent
add81b3426
commit
487c7d27d5
|
@ -34,7 +34,7 @@ else()
|
||||||
|
|
||||||
include_directories(${SODIUM_INCLUDE_DIR})
|
include_directories(${SODIUM_INCLUDE_DIR})
|
||||||
|
|
||||||
set(LINK_CRYPTO_LIBRARY ${SODIUM_LIBRARY})
|
set(LINK_CRYPTO_LIBRARY ${SODIUM_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#MinGW prints more warnings for -Wall than gcc does, thus causing build to fail
|
#MinGW prints more warnings for -Wall than gcc does, thus causing build to fail
|
||||||
|
|
|
@ -54,8 +54,8 @@ endif()
|
||||||
|
|
||||||
find_library(SODIUM_LIBRARY
|
find_library(SODIUM_LIBRARY
|
||||||
NAMES
|
NAMES
|
||||||
${WIN32_LIBSODIUM_FILENAME}
|
|
||||||
sodium
|
sodium
|
||||||
|
${WIN32_LIBSODIUM_FILENAME}
|
||||||
PATHS
|
PATHS
|
||||||
${SODIUM_ROOT_DIR}/lib
|
${SODIUM_ROOT_DIR}/lib
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user