diff options
author | Sam Clegg <sbc@chromium.org> | 2021-01-25 15:33:37 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 15:33:37 -0800 |
commit | 9b6817c7e1b6436217b1c2acfd02c8dec74317bb (patch) | |
tree | e847942dfca40c9ff79e0fb83dfd0d4869d57b17 | |
parent | c444fa579acc3b4a60f20cacb539ae60c44e5e95 (diff) | |
download | binaryen-9b6817c7e1b6436217b1c2acfd02c8dec74317bb.tar.gz binaryen-9b6817c7e1b6436217b1c2acfd02c8dec74317bb.tar.bz2 binaryen-9b6817c7e1b6436217b1c2acfd02c8dec74317bb.zip |
Revert cmake version requirement bump (#3515)
This was originally landed as part of #3484 but this broke the emsdk CI
because we build binaryen on bionic there which is stuck on 3.10.2:
https://packages.ubuntu.com/bionic/cmake
We do use `add_link_options` but only when EMSCRIPTEN is defined which
doesn't effect normal desktop builds.
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 78f74d2b6..59b7e82e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,6 @@ -cmake_minimum_required(VERSION 3.13) +# Version set according the the cmake versions available in Ubuntu/Bionic: +# https://packages.ubuntu.com/bionic/cmake +cmake_minimum_required(VERSION 3.10.2) project(binaryen LANGUAGES C CXX VERSION 99) include(GNUInstallDirs) |