From 27c14deaedc8f914e82388e41e61e8adbfd13f35 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 29 Nov 2013 20:34:15 +0100 Subject: Fix build without NaCl --- cmake/check_reqs.cmake | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cmake') diff --git a/cmake/check_reqs.cmake b/cmake/check_reqs.cmake index ad12ca7..8f41285 100644 --- a/cmake/check_reqs.cmake +++ b/cmake/check_reqs.cmake @@ -9,4 +9,10 @@ if(${nacl_required}) if(USE_LIBSODIUM) set(HAVE_LIBSODIUM TRUE) endif(USE_LIBSODIUM) +else(${nacl_required}) + set(NACL_INCLUDE_DIRS "") + set(NACL_CFLAGS_OTHER "") + set(NACL_LIBRARY_DIRS "") + set(NACL_LIBRARIES "") + set(NACL_LDFLAGS_OTHER "") endif(${nacl_required}) -- cgit v1.2.3