diff options
| author | David Cole <david.cole@kitware.com> | 2010-10-25 19:03:36 (GMT) |
|---|---|---|
| committer | David Cole <david.cole@kitware.com> | 2010-10-25 19:03:36 (GMT) |
| commit | c8f39193e01e15a13a37ca227f02a2e4472f3d8a (patch) | |
| tree | ed66e580efd8e6d66492c15fd1aa26a4efdca95c /Tests/Tutorial/Step2/tutorial.cxx | |
| parent | 06b5eaa3cf7dc534415473eb1f3bfef191008999 (diff) | |
| download | CMake-c8f39193e01e15a13a37ca227f02a2e4472f3d8a.zip CMake-c8f39193e01e15a13a37ca227f02a2e4472f3d8a.tar.gz CMake-c8f39193e01e15a13a37ca227f02a2e4472f3d8a.tar.bz2 | |
Avoid problem reading jni.h on Macs.
Apple released an update recently in which there
was a broken symlink for jni.h that pointed to
a non-existent file. CMake had trouble configuring
because it encountered an error trying to read
jni.h.
We avoid the problem here by introducing a variable
CTEST_RUN_Java, which defaults to OFF on Macs, that
indicates whether to even attempt finding java, reading
jni.h and adding the "Java" CMake test.
If you would like to test Java on a Mac where the
jni.h symlink is not busted, feel free to pass in
-DCTEST_RUN_Java:BOOL=ON when configuring CMake.
Diffstat (limited to 'Tests/Tutorial/Step2/tutorial.cxx')
0 files changed, 0 insertions, 0 deletions
