diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindLibMagic.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/FindLibMagic.cmake b/cmake/FindLibMagic.cmake new file mode 100644 index 0000000..9bed3b3 --- /dev/null +++ b/cmake/FindLibMagic.cmake @@ -0,0 +1,10 @@ +# Public Domain + +find_library (LIBMAGIC_LIBRARIES magic) +find_path (LIBMAGIC_INCLUDE_DIRS magic.h) + +include (FindPackageHandleStandardArgs) +find_package_handle_standard_args (LibMagic DEFAULT_MSG + LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS) + +mark_as_advanced (LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS) |