summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTest/Site.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CTest/Site.cmake')
-rw-r--r--Tests/RunCMake/CTest/Site.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTest/Site.cmake b/Tests/RunCMake/CTest/Site.cmake
new file mode 100644
index 0000000..2c96f23
--- /dev/null
+++ b/Tests/RunCMake/CTest/Site.cmake
@@ -0,0 +1,5 @@
+include(CTest)
+get_property(site CACHE SITE PROPERTY VALUE)
+if(NOT "${site}" STREQUAL "${SITE}")
+ message(FATAL_ERROR "SITE is not a cache entry")
+endif()