summaryrefslogtreecommitdiffstats
path: root/FindNaCl.cmake
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 17:42:30 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 17:47:20 +0100
commit38b7d50694b4a9929cc0d5bca884a52d5aeaa8a4 (patch)
tree8d5c690296423b9261a864c1b8cfde06b85d9d9a /FindNaCl.cmake
parentcd47acaf3cc874f8d26acca56fa6cef6110d946d (diff)
downloadfastd-38b7d50694b4a9929cc0d5bca884a52d5aeaa8a4.tar
fastd-38b7d50694b4a9929cc0d5bca884a52d5aeaa8a4.zip
Separate cmake files
Diffstat (limited to 'FindNaCl.cmake')
-rw-r--r--FindNaCl.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/FindNaCl.cmake b/FindNaCl.cmake
deleted file mode 100644
index 6388df6..0000000
--- a/FindNaCl.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-FIND_PATH(NACL_INCLUDE_DIR crypto_secretbox_xsalsa20poly1305.h PATH_SUFFIXES nacl)
-FIND_LIBRARY(NACL_LIBRARY NAMES nacl)
-
-IF (NACL_INCLUDE_DIR AND NACL_LIBRARY)
- SET(NACL_FOUND TRUE)
-ENDIF (NACL_INCLUDE_DIR AND NACL_LIBRARY)
-
-IF (NACL_FOUND)
- IF (NOT NaCl_FIND_QUIETLY)
- MESSAGE(STATUS "Found NaCl: Networking and Cryptography library: ${NACL_LIBRARY}; include path: ${NACL_INCLUDE_DIR}")
- ENDIF (NOT NaCl_FIND_QUIETLY)
-ELSE (NACL_FOUND)
- IF (NaCl_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could not find NaCl: Networking and Cryptography library")
- ENDIF (NaCl_FIND_REQUIRED)
-ENDIF (NACL_FOUND)