summaryrefslogtreecommitdiffstats
path: root/FindCAP.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 /FindCAP.cmake
parentcd47acaf3cc874f8d26acca56fa6cef6110d946d (diff)
downloadfastd-38b7d50694b4a9929cc0d5bca884a52d5aeaa8a4.tar
fastd-38b7d50694b4a9929cc0d5bca884a52d5aeaa8a4.zip
Separate cmake files
Diffstat (limited to 'FindCAP.cmake')
-rw-r--r--FindCAP.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/FindCAP.cmake b/FindCAP.cmake
deleted file mode 100644
index 80afff3..0000000
--- a/FindCAP.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-FIND_PATH(CAP_INCLUDE_DIR sys/capability.h)
-FIND_LIBRARY(CAP_LIBRARY NAMES cap)
-
-IF (CAP_INCLUDE_DIR AND CAP_LIBRARY)
- SET(CAP_FOUND TRUE)
-ENDIF (CAP_INCLUDE_DIR AND CAP_LIBRARY)
-
-IF (CAP_FOUND)
- IF (NOT CAP_FIND_QUIETLY)
- MESSAGE(STATUS "Found libcap: ${CAP_LIBRARY}; include path: ${CAP_INCLUDE_DIR}")
- ENDIF (NOT CAP_FIND_QUIETLY)
-ELSE (CAP_FOUND)
- IF (CAP_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could not find libcap")
- ENDIF (CAP_FIND_REQUIRED)
-ENDIF (CAP_FOUND)