handler: Handle any checkpoint resource, determine Content-Type with libmagic (#22)
* Handle any resource * Determine Content-Type for static files with libmagic --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
This commit is contained in:
@@ -29,7 +29,7 @@ add_compile_definitions(CHECKPOINT_VERSION="${CHECKPOINT_VERSION}")
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
pkg_check_modules(deps IMPORTED_TARGET openssl re2)
|
||||
pkg_check_modules(deps IMPORTED_TARGET openssl re2 libmagic)
|
||||
|
||||
target_include_directories(checkpoint
|
||||
PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user