diff options
| author | Manolo Gouy <Manolo> | 2018-01-08 10:19:19 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-01-08 10:19:19 +0000 |
| commit | c462635e88a835377c48497881747a0aa00ace2f (patch) | |
| tree | 6eb13e3953415a8833730576deaa0e22f168a23c | |
| parent | 46d8ef2c1d60ef5462a1a8b263dfe218b6288a64 (diff) | |
MacOS configure --enable-x11: add needed compilation option under MacOS 10.13
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 122a668d4..bba8ba27e 100644 --- a/configure.ac +++ b/configure.ac @@ -90,6 +90,10 @@ case $host_os in if test x$enable_x11 = xyes; then host_os_gui="X11" OPTIM="-U__APPLE__ $OPTIM" + macosversion=`sw_vers -productVersion | cut -d. -f2` + if test $macosversion -ge "13" ; then + CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.8" + fi fi ;; *) |
