diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2009-11-04 14:49:58 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2009-11-04 14:49:58 (GMT) |
commit | fdc6638b1c43740ef74c365927602b9c9e55a837 (patch) | |
tree | 255c2a4faf7352d5e1fb9031d1c8ec804b47bb33 /Modules/FindJava.cmake | |
parent | b0960683b2e035ca45470d1bc0a1c6886fc29748 (diff) | |
download | CMake-fdc6638b1c43740ef74c365927602b9c9e55a837.zip CMake-fdc6638b1c43740ef74c365927602b9c9e55a837.tar.gz CMake-fdc6638b1c43740ef74c365927602b9c9e55a837.tar.bz2 |
Add more documentation to module
Diffstat (limited to 'Modules/FindJava.cmake')
-rw-r--r-- | Modules/FindJava.cmake | 14 |
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. |