Skip to content

Commit aee2190

Browse files
JSI
1 parent cfd9b26 commit aee2190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/@babylonjs/react-native/windows/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ set(BABYLON_NATIVE_USE_SWAPCHAINPANEL ON CACHE BOOL "")
1717
# Installing react-native dependencies for both the Playground app and the @babylonjs\react-native package will generate a bad bundle/runtime errors.
1818
set(NAPI_JAVASCRIPT_ENGINE "JSI" CACHE STRING "")
1919

20-
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../shared ${CMAKE_CURRENT_BINARY_DIR}/shared)
21-
2220
set(PLAYGROUND_DIR "${CMAKE_CURRENT_LIST_DIR}/../../..")
2321

2422
if(EXISTS "${PLAYGROUND_DIR}/react-native/package.json")
@@ -31,6 +29,8 @@ endif()
3129
add_subdirectory("${REACTNATIVE_DIR_CMAKE}/ReactCommon/jsi/jsi" ${CMAKE_CURRENT_BINARY_DIR}/jsi)
3230
target_include_directories(jsi INTERFACE ${REACTNATIVE_DIR_CMAKE}/ReactCommon/jsi)
3331

32+
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../shared ${CMAKE_CURRENT_BINARY_DIR}/shared)
33+
3434
# Disable Unity build for UrlLib because of conflict in header between windows.h and winrt
3535
set_property(TARGET UrlLib PROPERTY UNITY_BUILD false)
3636

0 commit comments

Comments
 (0)