Skip to content

Commit 05b2a25

Browse files
authored
fix(android): use CMAKE_SOURCE_DIR for jniLibs path resolution on Windows (#1007)
1 parent 881abb0 commit 05b2a25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/react-native-audio-api/android/src/main/cpp/audioapi

packages/react-native-audio-api/android/src/main/cpp/audioapi/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set_source_files_properties(
1919
set(INCLUDE_DIR ${COMMON_CPP_DIR}/audioapi/external/include)
2020
set(FFMPEG_INCLUDE_DIR ${COMMON_CPP_DIR}/audioapi/external/include_ffmpeg)
2121
set(EXTERNAL_DIR ${COMMON_CPP_DIR}/audioapi/external/android)
22-
set(JNI_LIBS_DIR ${COMMON_CPP_DIR}/../../android/src/main/jniLibs)
22+
set(JNI_LIBS_DIR ${CMAKE_SOURCE_DIR}/src/main/jniLibs)
2323

2424
add_library(react-native-audio-api SHARED ${ANDROID_CPP_SOURCES} ${COMMON_CPP_SOURCES})
2525

0 commit comments

Comments
 (0)