Skip to content

Commit

Permalink
target links
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricGuillemet committed Sep 25, 2023
1 parent 1b20b77 commit c3fc36d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,10 @@ add_library(BabylonNative SHARED

if (${BASEKIT_BUILD})
target_compile_definitions(BabylonNative PRIVATE BASEKIT_BUILD)
message("Base build path A")
else()
set(ExtraKit "NativeXr NativeCamera")
message("Base build path B")
endif()

message("************************")
message(${ExtraKit})

set(TURBOMODULE_DIR "${REACTNATIVE_DIR_CMAKE}/ReactAndroid/src/main/jni/react/turbomodule/")
if (EXISTS "${TURBOMODULE_DIR}/CMakeLists.txt")
# >= React Native 0.71 with prefabs
Expand Down
5 changes: 0 additions & 5 deletions Modules/@babylonjs/react-native-iosandroid/ios/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,10 @@ add_library(BabylonNative

if (${BASEKIT_BUILD})
target_compile_definitions(BabylonNative PRIVATE BASEKIT_BUILD)
message("Base build path A")
else()
set(ExtraKit "NativeXr NativeCamera")
message("Base build path B")
endif()

message("************************")
message(${ExtraKit})

target_include_directories(BabylonNative PRIVATE ${SHARED_INCLUDES})
target_include_directories(BabylonNative PUBLIC ${CMAKE_CURRENT_LIST_DIR})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,10 @@ add_library(BabylonNative

if (${BASEKIT_BUILD})
target_compile_definitions(BabylonNative PRIVATE BASEKIT_BUILD)
message("Base build path A")
else()
set(ExtraKit "NativeXr NativeCamera")
message("Base build path B")
endif()

message("************************")
message(${ExtraKit})

target_include_directories(BabylonNative PRIVATE ${SHARED_INCLUDES})

target_link_libraries(BabylonNative
Expand Down

0 comments on commit c3fc36d

Please sign in to comment.