diff options
| author | Brad King <brad.king@kitware.com> | 2014-01-29 18:51:01 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2014-01-29 19:12:54 (GMT) |
| commit | 70560ee1466ffc73878afa7ad34937bf154903f6 (patch) | |
| tree | 88d13a3e7fce99474c3b59bdad46c22344d89745 /Tests/Tutorial/Step7/MathFunctions/MathFunctions.h | |
| parent | fcd66a7f7b944f95372386332381a11c3b8b1508 (diff) | |
| download | CMake-70560ee1466ffc73878afa7ad34937bf154903f6.zip CMake-70560ee1466ffc73878afa7ad34937bf154903f6.tar.gz CMake-70560ee1466ffc73878afa7ad34937bf154903f6.tar.bz2 | |
FindJNI: Overhaul finding JDK libraries and headers on OS X
Drop the hard-coded framework paths and "-framework JavaJM" on APPLE.
Save and restore the value of CMAKE_FIND_FRAMEWORK. Use its value to
choose and order between a normal search for jvm&jawt and a framework
search for JavaVM. When JAVA_HOME is set explicitly by the user then
force a normal search by setting CMAKE_FIND_FRAMEWORK to NEVER. Once
the library is found, set CMAKE_FIND_FRAMEWORK to help find_path locate
the matching headers (framework v. normal).
Diffstat (limited to 'Tests/Tutorial/Step7/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions
