aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-03-08 09:41:10 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-03-08 09:41:10 +0100
commit931fc441f6b89e8fed9c912ddb99d193f99f8b56 (patch)
tree0cc934b3e5a8584d60bd1eb7730414a51e39767c /cmake
parent9e0c9dd6d8bf65ab76c2b54f5038ff07c0d8d6d0 (diff)
downloadjson-rpc-shell-931fc441f6b89e8fed9c912ddb99d193f99f8b56.tar.gz
json-rpc-shell-931fc441f6b89e8fed9c912ddb99d193f99f8b56.tar.xz
json-rpc-shell-931fc441f6b89e8fed9c912ddb99d193f99f8b56.zip
Steady progress
Added static content serving with sane content type detection. Started working on WebSockets (meanwhile neither SCGI or FastCGI is finished and almost nothing has been tested).
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindLibMagic.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/FindLibMagic.cmake b/cmake/FindLibMagic.cmake
new file mode 100644
index 0000000..edae3bf
--- /dev/null
+++ b/cmake/FindLibMagic.cmake
@@ -0,0 +1,6 @@
+# Public Domain
+
+find_library (LIBMAGIC_LIBRARIES magic)
+find_path (LIBMAGIC_INCLUDE_DIRS magic.h)
+find_package_handle_standard_args (LibMagic DEFAULT_MSG
+ LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)