CMake WITH_ENCHANT_VERSION is boolean, should be string
Calling ccmake-3.17.4 evolution-source-path
offers for WITH_ENCHANT_VERSION a toggle, that can be either ON or OFF. It does not permit setting values. Running [c] Configure prints
CMake Error at CMakeLists.txt:303 (message):
Cannot find enchant 1 neither enchant 2, or new-enough version. Install
either of them or specify which to use with
-DWITH_ENCHANT_VERSION=auto|1|2, where 'auto' is the default
- Change the type of WITH_ENCHANT_VERSION to allow entering in ccmake the values 1, 2, auto and OFF
- When WITH_ENCHANT_VERSION is OFF or empty, build evolution without enchant.