mirror of https://github.com/WerWolv/ImHex.git
fix: Use `find_library()` instead of `find_file()` to find system yara library (#1581)
Discord discussion: https://discord.com/channels/789833418631675954/789840633414025246/1213564050848485427
This commit is contained in:
parent
48db4df028
commit
0fb43ccc2b
|
@ -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)
|
Loading…
Reference in New Issue