Fix FindLibMagic.cmake

This commit is contained in:
Přemysl Eric Janouch 2016-01-16 06:37:56 +01:00
parent 3c7b57bba9
commit 0f62ef26f5

View File

@ -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)