summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2009-11-04 14:49:58 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2009-11-04 14:49:58 (GMT)
commitfdc6638b1c43740ef74c365927602b9c9e55a837 (patch)
tree255c2a4faf7352d5e1fb9031d1c8ec804b47bb33 /Modules
parentb0960683b2e035ca45470d1bc0a1c6886fc29748 (diff)
downloadCMake-fdc6638b1c43740ef74c365927602b9c9e55a837.zip
CMake-fdc6638b1c43740ef74c365927602b9c9e55a837.tar.gz
CMake-fdc6638b1c43740ef74c365927602b9c9e55a837.tar.bz2
Add more documentation to module
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindJava.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake
index 3f19921..7eb6d900c 100644
--- a/Modules/FindJava.cmake
+++ b/Modules/FindJava.cmake
@@ -13,6 +13,20 @@
# Java_VERSION_TWEAK = The tweak version of the package found (after '_')
# Java_VERSION = This is set to: $major.$minor.$patch(.$tweak)
#
+# NOTE: ${Java_VERSION} and ${Java_VERSION_STRING} are not guaranteed to be
+# identical. For example some java version may return:
+# Java_VERSION_STRING = 1.5.0_17
+# and
+# Java_VERSION = 1.5.0.17
+#
+# another example is the Java OEM, with:
+# Java_VERSION_STRING = 1.6.0-oem
+# and
+# Java_VERSION = 1.6.0
+#
+# NOTE: At the moment this script will look for javac and jar component,
+# which means it will fail if javac or jar is not found.:w
+# See Bug #9840
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.