Skip to content

Commit c35c809

Browse files
authored
Fix libevent, jsoncpp compilation on mac shows that cmake version is too high (#593)
### What problem were solved in this pull request? Fix libevent, jsoncpp compilation on mac shows that cmake version is too high. <img width="789" height="184" alt="libevent fail" src="https://github.com/user-attachments/assets/1a1e4a78-fb92-4e98-a58e-7a7094f8d0ab" />
1 parent 8581dd1 commit c35c809

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ function prepare_build_dir
7575
function do_init
7676
{
7777
git submodule update --init || return
78+
git -C "deps/3rd/libevent" checkout 112421c8fa4840acd73502f2ab6a674fc025de37 || return
79+
# git submodule update --remote "deps/3rd/libevent" || return
80+
git -C "deps/3rd/jsoncpp" checkout 1.9.6 || return
7881
current_dir=$PWD
7982

8083
MAKE_COMMAND="make --silent"

0 commit comments

Comments
 (0)