diff --git a/src/Core/tests/CMakeLists.txt b/src/Core/tests/CMakeLists.txt index f77163a7109..b24326d94b1 100644 --- a/src/Core/tests/CMakeLists.txt +++ b/src/Core/tests/CMakeLists.txt @@ -24,3 +24,8 @@ target_link_libraries (mysql_protocol PRIVATE dbms) if(USE_SSL) target_include_directories (mysql_protocol SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR}) endif() + +if (ENABLE_FUZZING) + add_executable (names_and_types_fuzzer names_and_types_fuzzer.cpp) + target_link_libraries (names_and_types_fuzzer PRIVATE dbms ${LIB_FUZZING_ENGINE}) +endif ()