summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorJoe Abbey <jabbey@arxan.com>2014-01-09 14:59:35 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-09 14:59:56 (GMT)
commit519084cd2e7d4943ea89721b90e98772f3dd44a4 (patch)
treeeae586661f63d6e0e4069aefe8998c0f348602f3 /Modules
parentbeb9cfae1798ef3e25be8d1cec7ce9ae33abec7b (diff)
downloadCMake-519084cd2e7d4943ea89721b90e98772f3dd44a4.zip
CMake-519084cd2e7d4943ea89721b90e98772f3dd44a4.tar.gz
CMake-519084cd2e7d4943ea89721b90e98772f3dd44a4.tar.bz2
FindJNI: Set JAVA_INCLUDE_PATH2 for darwin (#14508)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindJNI.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 29a247d..f1cb57e 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -238,6 +238,7 @@ find_path(JAVA_INCLUDE_PATH jni.h
find_path(JAVA_INCLUDE_PATH2 jni_md.h
${JAVA_INCLUDE_PATH}
+ ${JAVA_INCLUDE_PATH}/darwin
${JAVA_INCLUDE_PATH}/win32
${JAVA_INCLUDE_PATH}/linux
${JAVA_INCLUDE_PATH}/freebsd