From 316f86f29f713e2c2a1d600910cde111a5ae91c0 Mon Sep 17 00:00:00 2001 From: Chi Tsai Date: Fri, 9 May 2025 21:07:15 -0700 Subject: [PATCH] Build JSI with C++17 (#50413) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50413 Build JSI with C++17. Changelog: [Internal] Reviewed By: dannysu Differential Revision: D72079417 fbshipit-source-id: 3b7796a100db8db75a7089423be303312a4f0e10 --- packages/react-native/ReactCommon/jsi/jsi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/jsi/jsi/CMakeLists.txt b/packages/react-native/ReactCommon/jsi/jsi/CMakeLists.txt index 28c661c9832..6392290a281 100644 --- a/packages/react-native/ReactCommon/jsi/jsi/CMakeLists.txt +++ b/packages/react-native/ReactCommon/jsi/jsi/CMakeLists.txt @@ -3,7 +3,7 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) add_library(jsi