Skip to content

Commit

Permalink
Use reference Yoga CMake build (#37371)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebook/react-native#37371

This makes React Native use `libyogacore` as provided by Yoga's reference CMake build. This in turn matches Yoga in the OSS RN build to the same compilation settings we use internally. It also means less differences between all the builds (maintainability win).

Changelog:
[Android][Changed] - Use reference Yoga CMake Build

Differential Revision: D45764537

fbshipit-source-id: 0c250d6aaa8298205fc94fd980953f51659197de
  • Loading branch information
NickGerleman authored and facebook-github-bot committed May 11, 2023
1 parent e409bfb commit 25e49e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/CMakeLists.txt → java/jni/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.13)
project(yogajni)
set(CMAKE_VERBOSE_MAKEFILE on)

set(YOGA_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/..)
set(YOGA_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..)
include(${YOGA_ROOT}/cmake/project-defaults.cmake)

add_subdirectory(${YOGA_ROOT}/yoga ${CMAKE_CURRENT_BINARY_DIR}/yoga)
Expand Down

0 comments on commit 25e49e3

Please sign in to comment.