Skip to content

Commit 84bce33

Browse files
committed
Set CMAKE_OSX_DEPLOYMENT_TARGET to 10.14
1 parent 3f1a23d commit 84bce33

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
#
33
cmake_minimum_required(VERSION 3.15.0)
44

5+
# macOS 10.14 is required for certain C++17 features.
6+
# (This variable needs to be set before calling `project`.)
7+
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14" CACHE STRING "Minimum OS X deployment version")
8+
59
project(openPMD VERSION 0.15.0) # LANGUAGES CXX
610

711
# the openPMD "markup"/"schema" standard version

0 commit comments

Comments
 (0)