aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-01-16 06:37:56 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-01-16 06:37:56 +0100
commit0f62ef26f564ac3af8f6bf47b646fdc0f12119e9 (patch)
tree715e80d2e6e0dfd2779b0a9df82e1a022001bf2c
parent3c7b57bba936bf2c120152b73554acb9cfbdb637 (diff)
downloadjson-rpc-shell-0f62ef26f564ac3af8f6bf47b646fdc0f12119e9.tar.gz
json-rpc-shell-0f62ef26f564ac3af8f6bf47b646fdc0f12119e9.tar.xz
json-rpc-shell-0f62ef26f564ac3af8f6bf47b646fdc0f12119e9.zip
Fix FindLibMagic.cmake
-rw-r--r--cmake/FindLibMagic.cmake4
1 files changed, 4 insertions, 0 deletions
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)