Revision 509a9409c3ac77103960177950d2d5c1ac3ade7a authored by Brad King on 05 March 2019, 14:42:58 UTC, committed by Brad King on 05 March 2019, 14:42:58 UTC
2 parent s 5c0ef41 + e427c7c
Raw File
context.cmake
GET_CURRENT_FILE(current_file)
if(NOT "${current_file}" STREQUAL "${CMAKE_CURRENT_LIST_FILE}")
  message(FATAL_ERROR
    "Macro file context is broken.  Expected:\n"
    "  ${CMAKE_CURRENT_LIST_FILE}\n"
    "but got:\n"
    "  ${current_file}\n"
    "from the macro."
    )
endif()
back to top