diff --git a/cmake/modules/FindYara.cmake b/cmake/modules/FindYara.cmake index db2778610..d1ee95dcb 100644 --- a/cmake/modules/FindYara.cmake +++ b/cmake/modules/FindYara.cmake @@ -1,4 +1,4 @@ -find_file(libyara.a YARA_LIBRARIES) +find_library(YARA_LIBRARIES NAMES yara) find_file(yara.h YARA_INCLUDE_DIRS) mark_as_advanced(YARA_LIBRARIES YARA_INCLUDE_DIRS) \ No newline at end of file