mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
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:
@@ -1,4 +1,4 @@
|
|||||||
find_file(libyara.a YARA_LIBRARIES)
|
find_library(YARA_LIBRARIES NAMES yara)
|
||||||
find_file(yara.h YARA_INCLUDE_DIRS)
|
find_file(yara.h YARA_INCLUDE_DIRS)
|
||||||
|
|
||||||
mark_as_advanced(YARA_LIBRARIES YARA_INCLUDE_DIRS)
|
mark_as_advanced(YARA_LIBRARIES YARA_INCLUDE_DIRS)
|
||||||
Reference in New Issue
Block a user