Skip to content

Commit

Permalink
fix: Fix CMake build on Windows (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
yfunk committed Feb 15, 2022
1 parent ab0fe8f commit d7f6376
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions android/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ include_directories(
)

if(${REACT_NATIVE_VERSION} LESS 66)
set (
INCLUDE_JSI_CPP
file(
TO_CMAKE_PATH
"${NODE_MODULES_DIR}/react-native/ReactCommon/jsi/jsi/jsi.cpp"
INCLUDE_JSI_CPP
)
endif()

Expand Down

0 comments on commit d7f6376

Please sign in to comment.