--- ettercap-0.8.3/CMakeLists.txt.orig 2019-06-28 01:19:16.000000000 +0200 +++ ettercap-0.8.3/CMakeLists.txt 2020-05-23 18:12:37.619999020 +0200 @@ -29,11 +29,6 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: ${VALID_BUILD_TYPES}." FORCE) endif() -list(FIND VALID_BUILD_TYPES ${CMAKE_BUILD_TYPE} contains_valid) -if(contains_valid EQUAL -1) - message(FATAL_ERROR "Unknown CMAKE_BUILD_TYPE: '${CMAKE_BUILD_TYPE}'. Valid options are: ${VALID_BUILD_TYPES}") -endif() -unset(contains_valid) include(CMakeDependentOption)