Explorar el Código

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 hace 4 años
padre
commit
a4dc1eb330
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>