summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-29 20:34:15 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-29 20:34:15 +0100
commit27c14deaedc8f914e82388e41e61e8adbfd13f35 (patch)
tree2d3da68cf388d88ebff299f7c3866c608c847f40 /cmake
parent6aca3d350424796f9788e68447d28d06c80e5c2a (diff)
downloadfastd-27c14deaedc8f914e82388e41e61e8adbfd13f35.tar
fastd-27c14deaedc8f914e82388e41e61e8adbfd13f35.zip
Fix build without NaCl
Diffstat (limited to 'cmake')
-rw-r--r--cmake/check_reqs.cmake6
1 files changed, 6 insertions, 0 deletions
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})