We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52b28e2 commit b1517a0Copy full SHA for b1517a0
android/CMakeLists.txt
@@ -4,13 +4,15 @@ project(FastOpencv)
4
set (CMAKE_VERBOSE_MAKEFILE ON)
5
set (CMAKE_CXX_STANDARD 20)
6
7
+file(TO_CMAKE_PATH "${NODE_MODULES_DIR}" NODE_MODULES_DIR)
8
+
9
find_package(ReactAndroid REQUIRED CONFIG)
10
find_package(fbjni REQUIRED CONFIG)
11
find_package(OpenCV REQUIRED COMPONENTS OpenCV::opencv_java4)
12
13
add_library(react-native-fast-opencv
14
SHARED
- ../node_modules/react-native/ReactCommon/jsi/jsi/jsi.cpp
15
+ "${NODE_MODULES_DIR}/react-native/ReactCommon/jsi/jsi/jsi.cpp"
16
../cpp/react-native-fast-opencv.cpp
17
../cpp/react-native-fast-opencv.h
18
cpp-adapter.cpp
0 commit comments