summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include/ParentVariableScript.cmake
blob: 59a8590abf70ef97aa121e88453b10c09b36bfc3 (plain)
1
2
3
4
5
6
7
8
9
if(DEFINED CMAKE_PARENT_LIST_FILE)
  message(SEND_ERROR "`CMAKE_PARENT_LIST_FILE` is not expected to be set here")
endif()
message(STATUS "ParentVariableScript.cmake: '${CMAKE_PARENT_LIST_FILE}'")
include("${CMAKE_CURRENT_LIST_DIR}/ParentVariableScript/include1.cmake")
if(DEFINED CMAKE_PARENT_LIST_FILE)
  message(SEND_ERROR "`CMAKE_PARENT_LIST_FILE` is not expected to be set here")
endif()
message(STATUS "ParentVariableScript.cmake: '${CMAKE_PARENT_LIST_FILE}'")