blob: a4c4638b0b78ad34d8c5cf27492b3cf365070261 (
plain)
1
2
3
4
5
6
7
8
9
10
|
include(ExternalData)
set(output "${CMAKE_BINARY_DIR}/MissingData.txt")
ExternalData_Expand_Arguments(Data args DATA{MissingData.txt,Data.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()
|