File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
project (rn-static-server C )
2
2
cmake_minimum_required (VERSION 3.22.1 FATAL_ERROR )
3
3
4
+ if (CMAKE_VERSION MATCHES "3.30.0" )
5
+ message (FATAL_ERROR "CMake v3.30.0 is not supported: https://github.com/birdofpreyru/react-native-static-server/issues/111" )
6
+ endif ()
7
+
4
8
# This prevents CMake from complaining that INSTALL(..) directives in
5
9
# Lighttpd CMakeLists.txt miss BUNDLE DESTINATION.
6
10
set (CMAKE_MACOSX_BUNDLE OFF )
Original file line number Diff line number Diff line change @@ -141,6 +141,10 @@ and [old][Old Architecture] RN architectures.
141
141
``` shell
142
142
$ brew install cmake pkg-config
143
143
```
144
+ ** BEWARE:** [** CMake v3.30.0** breaks the library build](https://github.com/birdofpreyru/react-native-static-server/issues/111)
145
+ because of a regression on CMake side & mdash; be sure to use a different
146
+ version (v3.22.1& ndash; 3.29.6 at the moment of writing).
147
+
144
148
** IMPORTANT:** [Homebrew] should have added ` eval " $( /opt/homebrew/bin/brew shellenv) " ' `
145
149
command to your `.zshrc` or `.bashrc`. Although this works for interactive terminals,
146
150
it might not work for sessions inside of other apps, such as XCode, therefore you might need to
You can’t perform that action at this time.
0 commit comments