check-common.cmake 154 B

12345
  1. function(check var val)
  2. if(NOT "${${var}}" STREQUAL "${val}")
  3. message(SEND_ERROR "${var} is \"${${var}}\", not \"${val}\"")
  4. endif()
  5. endfunction()