Commit 46f80e71 authored by Hubert Chathi's avatar Hubert Chathi
Browse files

remove fuzzers from cmake, since it doesn't work properly

parent 3da5b608
...@@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.1) ...@@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.1)
project(olm VERSION 2.3.0 LANGUAGES CXX C) project(olm VERSION 2.3.0 LANGUAGES CXX C)
option(OLM_TESTS "Build tests" ON) option(OLM_TESTS "Build tests" ON)
option(OLM_FUZZERS "Build fuzzers" ON)
add_definitions(-DOLMLIB_VERSION_MAJOR=${PROJECT_VERSION_MAJOR}) add_definitions(-DOLMLIB_VERSION_MAJOR=${PROJECT_VERSION_MAJOR})
add_definitions(-DOLMLIB_VERSION_MINOR=${PROJECT_VERSION_MINOR}) add_definitions(-DOLMLIB_VERSION_MINOR=${PROJECT_VERSION_MINOR})
...@@ -114,7 +113,3 @@ export(PACKAGE Olm) ...@@ -114,7 +113,3 @@ export(PACKAGE Olm)
if (OLM_TESTS) if (OLM_TESTS)
add_subdirectory(tests) add_subdirectory(tests)
endif() endif()
if (OLM_FUZZERS)
add_subdirectory(fuzzers)
endif()
foreach(fuzz IN ITEMS
fuzz_decode_message
fuzz_decrypt
fuzz_group_decrypt
fuzz_unpickle_account
fuzz_unpickle_session
)
add_executable(${fuzz} ${fuzz}.cpp)
target_include_directories(${fuzz} PRIVATE include)
target_link_libraries(${fuzz} Olm::Olm)
endforeach(fuzz)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment