Add an OSX_DEPLOY_TARGET option to control building for a target OS version.
authorGuy Harris <guy@alum.mit.edu>
Sun, 3 Aug 2014 20:07:46 +0000 (13:07 -0700)
committerGuy Harris <guy@alum.mit.edu>
Sun, 3 Aug 2014 20:08:15 +0000 (20:08 +0000)
commit2d126cfec1ea0e9f9b0e345677d12b70838b7b49
tree85e6d8deb7b5ba3c5e3a787f74fc9c0ca6e693a8
parent27cfea6467d26ef44f73d4fce70a2895b3b98bdb
Add an OSX_DEPLOY_TARGET option to control building for a target OS version.

It should be set to an OS version, such as "10.5" or "10.6" or..., and,
if set (and if you're building for "APPLE"), it'll try to find the SDK
(and fail if it's not found), and add appropriate -isysroot,
-mmacosx-version-min, and, if appropriate, -m32 compiler options.

(It will need more work once we support building OS X app bundles and
installers; pick up more stuff from configure.ac for that.)

Change-Id: I0aebf2db8aa39304a41be4e2a9879dea6f308ec7
Reviewed-on: https://code.wireshark.org/review/3388
Reviewed-by: Guy Harris <guy@alum.mit.edu>
CMakeLists.txt
README.cmake