[PATCH] D93136: [test-suite] ClamAV CMake fix.

Nichols A. Romero via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 21:03:13 PST 2020


naromero77 updated this revision to Diff 312097.
naromero77 added a comment.

- Use find_package instead.


Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93136/new/

https://reviews.llvm.org/D93136

Files:
  MultiSource/Applications/ClamAV/CMakeLists.txt


Index: MultiSource/Applications/ClamAV/CMakeLists.txt
===================================================================
--- MultiSource/Applications/ClamAV/CMakeLists.txt
+++ MultiSource/Applications/ClamAV/CMakeLists.txt
@@ -170,4 +170,6 @@
   zlib_uncompr.c
   zlib_zutil.c
 )
+find_package(Intl REQUIRED)
+target_link_libraries(clamscan ${Intl_LIBRARIES})
 llvm_test_data(clamscan ${INPUT} dbdir)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93136.312097.patch
Type: text/x-patch
Size: 402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201216/b7e6ef02/attachment.bin>


More information about the llvm-commits mailing list