From d2745698c550dfc22a6cd6ab998666f876f72723 Mon Sep 17 00:00:00 2001 From: linziguan Date: Thu, 16 May 2024 06:25:53 +0800 Subject: [PATCH] Support building JNI on Windows (#881) --- sherpa-onnx/jni/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/sherpa-onnx/jni/CMakeLists.txt b/sherpa-onnx/jni/CMakeLists.txt index b44c4135..eeed0930 100644 --- a/sherpa-onnx/jni/CMakeLists.txt +++ b/sherpa-onnx/jni/CMakeLists.txt @@ -7,6 +7,7 @@ if(NOT DEFINED ANDROID_ABI) include_directories($ENV{JAVA_HOME}/include) include_directories($ENV{JAVA_HOME}/include/linux) include_directories($ENV{JAVA_HOME}/include/darwin) + include_directories($ENV{JAVA_HOME}/include/win32) endif() set(sources