
set(description [[config() should interpret an empty condition as true]])

message(STATUS "description \"${description}\"")
message(STATUS "expect exit zero")

include(configuration.cmake)

config(
  "docstring"
  empty_condition_test

  VALUE success-value # with empty condition
  VALUE error-value ON
)

# expect empty_condition_test to be a success-value.
if(NOT ("${empty_condition_test}" STREQUAL "success-value"))
  message(FATAL_ERROR "failed")
endif()
