summaryrefslogtreecommitdiffstats
path: root/Tests/Tutorial/Step2/tutorial.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-10-25 19:03:36 (GMT)
committerDavid Cole <david.cole@kitware.com>2010-10-25 19:03:36 (GMT)
commitc8f39193e01e15a13a37ca227f02a2e4472f3d8a (patch)
treeed66e580efd8e6d66492c15fd1aa26a4efdca95c /Tests/Tutorial/Step2/tutorial.cxx
parent06b5eaa3cf7dc534415473eb1f3bfef191008999 (diff)
downloadCMake-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