Skip to content

Commit 9d84909

Browse files
cortinicofacebook-github-bot
authored andcommitted
Enable CMP0069=NEW for all the targets
Summary: Since I enabled INTERPROCEDURAL_OPTIMIZATION last week, we're having a warning for gtest that they're not setting this CMake policy: CMP0069 https://cmake.org/cmake/help/latest/policy/CMP0069.html As Gtest is not a production dependency, we can safely ignore this warning. So I'm enabling the policy for all the targets. Changelog: [Internal] [Changed] - Reviewed By: alanleedev Differential Revision: D73122573 fbshipit-source-id: 319a889024f080752f0c9287d011209459dcb013
1 parent 71c82ce commit 9d84909

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-native/ReactAndroid/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,8 @@ android {
535535
"-DREACT_BUILD_DIR=$buildDir",
536536
"-DANDROID_STL=c++_shared",
537537
"-DANDROID_TOOLCHAIN=clang",
538-
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON")
538+
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON",
539+
"-DCMAKE_POLICY_DEFAULT_CMP0069=NEW")
539540

540541
targets(
541542
"reactnative",

0 commit comments

Comments
 (0)