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

This commit is contained in:
Hubert Chathi 2018-10-12 21:03:23 -04:00
parent 3da5b60823
commit 46f80e71be
2 changed files with 0 additions and 16 deletions

View file

@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.1)
project(olm VERSION 2.3.0 LANGUAGES CXX C)
option(OLM_TESTS "Build tests" ON)
option(OLM_FUZZERS "Build fuzzers" ON)
add_definitions(-DOLMLIB_VERSION_MAJOR=${PROJECT_VERSION_MAJOR})
add_definitions(-DOLMLIB_VERSION_MINOR=${PROJECT_VERSION_MINOR})
@ -114,7 +113,3 @@ export(PACKAGE Olm)
if (OLM_TESTS)
add_subdirectory(tests)
endif()
if (OLM_FUZZERS)
add_subdirectory(fuzzers)
endif()

View file

@ -1,11 +0,0 @@
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)