Skip to content

Commit

Permalink
CMake: search for JAVA_INCLUDE_PATH2 as jni_md.h might be located in …
Browse files Browse the repository at this point in the history
…architecture specific directory.
  • Loading branch information
mikeov committed Mar 9, 2023
1 parent 6ffc5bb commit 819eec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -73,7 +73,6 @@ if (QFS_OMIT_JNI)
else()
set(JAVA_AWT_LIBRARY NotNeeded)
set(JAVA_JVM_LIBRARY NotNeeded)
set(JAVA_INCLUDE_PATH2 NotNeeded)
set(JAVA_AWT_INCLUDE_PATH NotNeeded)
find_package(JNI REQUIRED)
endif()
Expand Down Expand Up @@ -201,6 +200,7 @@ include_directories(
${KRB5_INCLUDE_DIRS}
${KFS_DIR_PREFIX}/src/cc
${JAVA_INCLUDE_PATH}
${JAVA_INCLUDE_PATH2}
)

# get the subdirs we want
Expand Down

0 comments on commit 819eec4

Please sign in to comment.