summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/SkipInstallRulesNoWarning2-check.cmake
blob: 4372b77c0e80dd970554e42ae569f9606a0fe8ee (plain)
1
2
3
4
5
6
7
8
9
if(NOT EXISTS "${RunCMake_TEST_BINARY_DIR}/CMakeCache.txt")
  message(FATAL_ERROR "missing test prerequisite CMakeCache.txt")
endif()

set(CMAKE_INSTALL_CMAKE "${RunCMake_TEST_BINARY_DIR}/cmake_install.cmake")

if(NOT EXISTS ${CMAKE_INSTALL_CMAKE})
  message(FATAL_ERROR "${CMAKE_INSTALL_CMAKE} should exist")
endif()