2013-01-25 16:39:57 -05:00
|
|
|
include(ExternalData)
|
2014-04-17 09:31:41 -04:00
|
|
|
|
|
|
|
set(output "${CMAKE_SOURCE_DIR}/MissingData.txt")
|
|
|
|
ExternalData_Expand_Arguments(Data args DATA{MissingData.txt})
|
|
|
|
if("x${args}" STREQUAL "x${output}")
|
|
|
|
message(STATUS "Missing data reference correctly transformed!")
|
|
|
|
else()
|
|
|
|
message(FATAL_ERROR "Missing data reference transformed to:\n ${args}\n"
|
|
|
|
"but we expected:\n ${output}")
|
|
|
|
endif()
|