Skip to content

Commit f2278fd

Browse files
winrt files dir
1 parent 0e9a705 commit f2278fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ set(BABYLON_NATIVE_BUILD_APPS OFF CACHE BOOL "")
1010
set(BABYLON_NATIVE_USE_SWAPCHAINPANEL ON CACHE BOOL "")
1111

1212
# Directory for CPPWINRT generated files
13-
include_directories(BEFORE "${CMAKE_CURRENT_LIST_DIR}/BabylonReactNative/Generated Files")
13+
set(WINRT_GENERATED_FILES_DIR "${CMAKE_CURRENT_LIST_DIR}/BabylonReactNative/Generated Files")
14+
include_directories(BEFORE "${WINRT_GENERATED_FILES_DIR}" "${WINRT_GENERATED_FILES_DIR}/winrt")
1415

1516
# Configure Babylon Native to use JSI
1617
# Note: We should avoid installing node_modules in the Module\@babylonjs\react-native folder.

0 commit comments

Comments
 (0)