Skip to content

Commit

Permalink
Set CMAKE_OSX_DEPLOYMENT_TARGET
Browse files Browse the repository at this point in the history
This version represents that current reality although we
would like to lower this for increased compatibility. See: #4299
  • Loading branch information
sbc100 committed Nov 1, 2021
1 parent 5ec74cf commit 17a8a44
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Version set according the the cmake versions available in Ubuntu/Bionic:
# https://packages.ubuntu.com/bionic/cmake
cmake_minimum_required(VERSION 3.10.2)

# Needed for C++17 (std::variant)
# TODO(https://github.com/WebAssembly/binaryen/issues/4299): We need
# to reduce this for compatability with emsdk.
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14" CACHE STRING "Minimum OS X deployment version")

project(binaryen LANGUAGES C CXX VERSION 102)
include(GNUInstallDirs)

Expand Down

0 comments on commit 17a8a44

Please sign in to comment.