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