You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
376 B
11 lines
376 B
10 years ago
|
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()
|