From 519084cd2e7d4943ea89721b90e98772f3dd44a4 Mon Sep 17 00:00:00 2001 From: Joe Abbey Date: Thu, 9 Jan 2014 09:59:35 -0500 Subject: [PATCH] FindJNI: Set JAVA_INCLUDE_PATH2 for darwin (#14508) --- Modules/FindJNI.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index 29a247d96..f1cb57e25 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