diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-27 18:39:15 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-27 18:39:15 (GMT) |
commit | 9ee34e6071efd4b54204e3bbb104dae65737b335 (patch) | |
tree | 7ed2a3507d946f845773b6a19a527cee12e02bf0 /Source/CMakeLists.txt | |
parent | 6b9e217beeb2f8f35cd53e98f3e2243958e213f3 (diff) | |
download | CMake-9ee34e6071efd4b54204e3bbb104dae65737b335.zip CMake-9ee34e6071efd4b54204e3bbb104dae65737b335.tar.gz CMake-9ee34e6071efd4b54204e3bbb104dae65737b335.tar.bz2 |
ENH: use jni.h to determine java version
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index f3337b0..e4749bc 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -677,7 +677,7 @@ IF(BUILD_TESTING) --build-run-dir "${CMake_BINARY_DIR}/Tests/Java/" --test-command ${JAVA_RUNTIME} -classpath hello.jar HelloWorld) ELSE("${JNI_FILE}" MATCHES JDK1_2) - MESSAGE("No Java Test because ${JNI_FILE} does not contain JDK1_2 define") + MESSAGE("No Java Test because ${JNI_H} does not contain JDK1_2 define") ENDIF("${JNI_FILE}" MATCHES JDK1_2) ELSE(JNI_H) MESSAGE("No Java Test because jni.h could not be found. tried:\n${JNIPATH}/../include and ${JNIPATH}/../java/include") |