From 0f62ef26f564ac3af8f6bf47b646fdc0f12119e9 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sat, 16 Jan 2016 06:37:56 +0100
Subject: Fix FindLibMagic.cmake
---
cmake/FindLibMagic.cmake | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cmake/FindLibMagic.cmake b/cmake/FindLibMagic.cmake
index edae3bf..9bed3b3 100644
--- a/cmake/FindLibMagic.cmake
+++ b/cmake/FindLibMagic.cmake
@@ -2,5 +2,9 @@
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)
--
cgit v1.2.3-70-g09d2