yanglint BUILD optional interactive yanglint
Detected also based on ioctl.h presence.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 13edcc5..19bbf08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,6 @@
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/")
include(GNUInstallDirs)
-include(CheckSymbolExists)
include(UseCompat)
include(ABICheck)
include(SourceFormat)
@@ -245,6 +244,7 @@
option(ENABLE_COVERAGE "Build code coverage report from tests" OFF)
option(ENABLE_FUZZ_TARGETS "Build target programs suitable for fuzzing with AFL" OFF)
option(ENABLE_INTERNAL_DOCS "Generate doxygen documentation also from internal headers" OFF)
+option(ENABLE_YANGLINT_INTERACTIVE "Enable interactive CLI yanglint" ON)
option(BUILD_SHARED_LIBS "By default, shared libs are enabled. Turn off for a static build." ON)
set(YANG_MODULE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/yang/modules/libyang" CACHE STRING "Directory where to copy the YANG modules to")