We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109b0c5 commit 991d543Copy full SHA for 991d543
cmd/capi/CMakeLists.txt
@@ -31,6 +31,9 @@ set(PRIVATE_LIBS
31
32
target_link_libraries(execute PRIVATE ${PRIVATE_LIBS})
33
34
-# Target 'capi_main' is used to check that Silkworm C API header passes pure C compilation
35
-add_executable(capi_main main.c)
36
-target_link_libraries(capi_main PRIVATE silkworm_capi)
+# Target 'capi_main' is used to check that Silkworm C API header passes pure C compilation (avoid this target in
+# sanitizer build due to linking errors w/ libFuzzingEngine dependencies)
+if(NOT SILKWORM_SANITIZE)
37
+ add_executable(capi_main main.c)
38
+ target_link_libraries(capi_main PRIVATE silkworm_capi)
39
+endif()
0 commit comments