Skip to content

Commit aecc173

Browse files
authored
Fix cmake 3.18 build error (#114)
1 parent c44b6a5 commit aecc173

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#
88

99
cmake_minimum_required(VERSION 3.5.1)
10+
project(react-native-v8)
1011

1112
set(CMAKE_VERBOSE_MAKEFILE ON)
1213
set(CMAKE_CXX_STANDARD 14)

android/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ android {
156156
"-DBOOST_VERSION=${BOOST_VERSION}",
157157
"-DBUILD_DIR=${buildDir}",
158158
"-DRN_DIR=${reactNativeDir}",
159-
"-DV8_ANDROID_DIR=${v8AndroidDir}",
160-
"--clean-first"
159+
"-DV8_ANDROID_DIR=${v8AndroidDir}"
161160
abiFilters (*reactNativeArchitectures())
162161
_stackProtectorFlag ? (cppFlags("-fstack-protector-all")) : null
163162
}

0 commit comments

Comments
 (0)