Fix FindLibMagic.cmake
This commit is contained in:
parent
3c7b57bba9
commit
0f62ef26f5
|
@ -2,5 +2,9 @@
|
||||||
|
|
||||||
find_library (LIBMAGIC_LIBRARIES magic)
|
find_library (LIBMAGIC_LIBRARIES magic)
|
||||||
find_path (LIBMAGIC_INCLUDE_DIRS magic.h)
|
find_path (LIBMAGIC_INCLUDE_DIRS magic.h)
|
||||||
|
|
||||||
|
include (FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args (LibMagic DEFAULT_MSG
|
find_package_handle_standard_args (LibMagic DEFAULT_MSG
|
||||||
LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)
|
LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)
|
||||||
|
|
||||||
|
mark_as_advanced (LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)
|
||||||
|
|
Loading…
Reference in New Issue