diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2013-08-04 21:20:48 -0400 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2013-08-04 21:20:48 -0400 |
commit | f03dc44e97e993024e42b3a0915de6401d9cecb0 (patch) | |
tree | c4fc26c796dba87028f8d91c4d8df9e029d295d5 /CMakeLists.txt | |
parent | f6207efef1cf94b6373a5c55cc654deafe63459a (diff) |
Fixed Windows build
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 07098391..f2657fc5 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -25,11 +25,11 @@ if(NOT WIN32) | |||
25 | message(STATUS "==== ${CMAKE_C_COMPILER_ID} detected - Adding compiler flags ====") | 25 | message(STATUS "==== ${CMAKE_C_COMPILER_ID} detected - Adding compiler flags ====") |
26 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror") | 26 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror") |
27 | endif() | 27 | endif() |
28 | find_package(SODIUM REQUIRED) | ||
29 | endif() | 28 | endif() |
30 | 29 | ||
31 | if(NOT USE_NACL) | 30 | if(NOT USE_NACL) |
32 | set(LINK_CRYPTO_LIBRARY ${SODIUM_LIBRARY}) | 31 | find_package(SODIUM REQUIRED) |
32 | set(LINK_CRYPTO_LIBRARY ${SODIUM_LIBRARY}) | ||
33 | endif() | 33 | endif() |
34 | 34 | ||
35 | macro(linkCoreLibraries exe_name) | 35 | macro(linkCoreLibraries exe_name) |