summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable/complex.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-17 20:16:06 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-17 20:16:06 (GMT)
commit0415b58573ba63a9c6168d8af05a165ea5e24774 (patch)
treeef79785f99fd23797aa8dcb27083c6a0cc9c1c5a /Tests/ComplexOneConfig/Executable/complex.cxx
parentb7c368b5e37289f85f2155db1b594d6bc4a3f0a4 (diff)
downloadCMake-0415b58573ba63a9c6168d8af05a165ea5e24774.zip
CMake-0415b58573ba63a9c6168d8af05a165ea5e24774.tar.gz
CMake-0415b58573ba63a9c6168d8af05a165ea5e24774.tar.bz2
ENH: backwards compatible for VTK 4.0, add cmake version requires
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/complex.cxx')
-rw-r--r--Tests/ComplexOneConfig/Executable/complex.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx
index af49dcd..7d86179 100644
--- a/Tests/ComplexOneConfig/Executable/complex.cxx
+++ b/Tests/ComplexOneConfig/Executable/complex.cxx
@@ -647,6 +647,14 @@ int main()
#endif
#endif // defined(_WIN32) && !defined(__CYGWIN__)
+ if(strcmp(CMAKE_MINIMUM_REQUIRED_VERSION, "1.3") == 0)
+ {
+ cmPassed("CMAKE_MINIMUM_REQUIRED_VERSION is set to 1.3");
+ }
+ else
+ {
+ cmFailed("CMAKE_MINIMUM_REQUIRED_VERSION is not set to the expected 1.3");
+ }
// ----------------------------------------------------------------------
// Summary