diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-03-08 09:41:10 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-03-08 09:41:10 +0100 |
commit | 931fc441f6b89e8fed9c912ddb99d193f99f8b56 (patch) | |
tree | 0cc934b3e5a8584d60bd1eb7730414a51e39767c /CMakeLists.txt | |
parent | 9e0c9dd6d8bf65ab76c2b54f5038ff07c0d8d6d0 (diff) | |
download | json-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 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ca9c0ea..6540894 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,9 +23,12 @@ set (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) find_package (PkgConfig REQUIRED) pkg_check_modules (dependencies REQUIRED jansson) find_package (LibEV REQUIRED) +find_package (LibMagic REQUIRED) -set (project_libraries ${dependencies_LIBRARIES} ${LIBEV_LIBRARIES}) -include_directories (${dependencies_INCLUDE_DIRS} ${LIBEV_INCLUDE_DIRS}) +set (project_libraries ${dependencies_LIBRARIES} + ${LIBEV_LIBRARIES} ${LIBMAGIC_LIBRARIES}) +include_directories (${dependencies_INCLUDE_DIRS} + ${LIBEV_INCLUDE_DIRS} ${LIBMAGIC_INCLUDE_DIRS}) # Generate a configuration file configure_file (${PROJECT_SOURCE_DIR}/config.h.in ${PROJECT_BINARY_DIR}/config.h) |