cmake_language(GET_EXPERIMENTAL_FEATURE_ENABLED "WindowsKernelModeDriver" feature_present) if (NOT feature_present STREQUAL "FALSE") message(FATAL_ERROR "Expected the `WindowsKernelModeDriver` feature to be disabled.") endif ()