Skip to content

Commit 6158153

Browse files
Sergey PogodinSergey Pogodin
Sergey Pogodin
authored and
Sergey Pogodin
committed
[futurepress#111] Support of CMake v3.30.0
1 parent c74c0fb commit 6158153

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
33

44
if (CMAKE_VERSION MATCHES "3.30.0")
55
message(FATAL_ERROR "CMake v3.30.0 is not supported: https://github.com/birdofpreyru/react-native-static-server/issues/111")
6+
elseif (CMAKE_VERSION MATCHES "3.30.1")
7+
message(FATAL_ERROR "CMake v3.30.1 is not supported: https://github.com/birdofpreyru/react-native-static-server/issues/111")
68
endif()
79

810
# This prevents CMake from complaining that INSTALL(..) directives in
@@ -26,7 +28,7 @@ endif()
2628
# to obscure errors (e.g. it may successfully complete the build,
2729
# but effectively doing it for the first of the archs only, and leave us
2830
# to wonder, why something does not link for some arch later).
29-
string(REPLACE ";" "\\\;" ESCAPED_ARCHS "${CMAKE_OSX_ARCHITECTURES}")
31+
string(REPLACE " " "\\\;" ESCAPED_ARCHS "$ENV{ARCHS_STANDARD}")
3032

3133
if(CMAKE_SYSTEM_NAME MATCHES "Android")
3234
set(

example/ios/Podfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ SPEC CHECKSUMS:
18351835
ReactCodegen: 60973d382704c793c605b9be0fc7f31cb279442f
18361836
ReactCommon: 6ef348087d250257c44c0204461c03f036650e9b
18371837
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
1838-
Yoga: 2a45d7e59592db061217551fd3bbe2dd993817ae
1838+
Yoga: a1d7895431387402a674fd0d1c04ec85e87909b8
18391839

18401840
PODFILE CHECKSUM: 28ab558f77988de312fdfc89b975a6bce9c68eb9
18411841

0 commit comments

Comments
 (0)