浏览代码

Lagom: Fix oss-fuzz build error due to CMake typo

The OSS-Fuzz build was failing with the following error:

 /usr/bin/ld: cannot find -l{}
Brian Gianforcaro 4 年之前
父节点
当前提交
a4dc1eb330
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Meta/Lagom/Fuzzers/CMakeLists.txt

+ 1 - 1
Meta/Lagom/Fuzzers/CMakeLists.txt

@@ -3,7 +3,7 @@ function(add_simple_fuzzer name)
 
   if (ENABLE_OSS_FUZZ)
       target_link_libraries(${name}
-          PUBLIC {$ARGN} LagomCore)
+          PUBLIC ${ARGN} LagomCore)
   else()
     target_compile_options(${name}
       PRIVATE $<$<CXX_COMPILER_ID:Clang>:-g -O1 -fsanitize=fuzzer>