summaryrefslogtreecommitdiffstats
path: root/Modules/FindCUDA
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-29 18:51:01 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-29 19:12:54 (GMT)
commit70560ee1466ffc73878afa7ad34937bf154903f6 (patch)
tree88d13a3e7fce99474c3b59bdad46c22344d89745 /Modules/FindCUDA
parentfcd66a7f7b944f95372386332381a11c3b8b1508 (diff)
downloadCMake-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 'Modules/FindCUDA')
0 files changed, 0 insertions, 0 deletions