Brad King
|
eae45a67e7
Search MacPorts /opt/local prefix on Mac
|
15 years ago |
David Cole
|
6ee87b2e5c
Fix issue #10155 - default value of CMAKE_OSX_DEPLOYMENT_TARGET should always be the empty string. When the value of CMAKE_OSX_DEPLOYMENT_TARGET is the empty string, the -mmacosx-version-min flag should not show up on the compiler command line. The logic for selecting default value of CMAKE_OSX_SYSROOT is orthogonal to and independent of the value of the deployment target. The default value for CMAKE_OSX_SYSROOT is the SDK that corresponds to the current version of Mac OSX on which cmake is running.
|
16 years ago |
David Cole
|
8d88de4b4a
Fix issue with SDK not matching initial deployment target chosen by setting the MACOSX_DEPLOYMENT_TARGET environment variable. The problem was that we were setting the initial SDK value based on our own internal default value for deplyment target rather than the user's environment variable choice. The solution is to base the default value for the SDK on the deployment target variable after initially caching the deployment target... Every time I'm in this code I think I leave it cleaner, only to be proven otherwise. Let's give this one a whirl. Bleh.
|
16 years ago |
David Cole
|
a830786c44
Fix issues #9959 and #9898 - do not set CMAKE_OSX_DEPLOYMENT_TARGET if CMAKE_OSX_SYSROOT is set.
|
16 years ago |
Brad King
|
4d72006bd6
Reduce duplication in Platform/<os>.cmake files
|
16 years ago |
Brad King
|
180c60a86f
Fix check for -isysroot on OS X
|
16 years ago |
Bill Hoffman
|
58818d5168
Add detection of gcc versions that do not support isysroot option and do not use it for them.
|
16 years ago |
Bill Hoffman
|
ea282284d5
Fix for bug #9466. Change the implementation of OSX arch lists. If no ARCHs are specified by the user then no flags are set. We no longer use CMAKE_OSX_ARCHITECTURES_DEFAULT.
|
16 years ago |
Brad King
|
39f8b91125
BUG: Remove implicit include dir suppression
|
16 years ago |
David Cole
|
553ddde8d1
BUG: Allow third component of Mac OSX sw_vers output to be empty. Mac OSX 10.5 was recently reinstalled on dashmacmini3 and pointed out the fact that this expression is faulty when the reported version is simply 10.5 rather than 10.5.x... for example. This fixes it.
|
17 years ago |
David Cole
|
75fb6798ab
BUG: Remove unnecessary double quotes from SET statements. Hopefully resolves the strange and difficult to diagnose (or reproduce) test failures on the dashmacmini2 Continuous dashboard.
|
17 years ago |
Brad King
|
7ca59f1724
BUG: Fix OS X dylib version flags for more linkers
|
17 years ago |
David Cole
|
2cd839142d
BUG: Fix careless typo that only caused test failures on clean builds...
|
17 years ago |
David Cole
|
9e3705b5b8
BUG: Try to fix the universal binary continuous dashboard on dashmacmini2. I am deducing that the value of CMAKE_OSX_ARCHITECTURES_DEFAULT is responsible for the failure, although I cannot reproduce it on other builds or even by running the test via ctest interactively *on* the continuous dashboard's build...
|
17 years ago |
David Cole
|
2853326e7a
BUG: Only set CMAKE_OSX_DEPLOYMENT_TARGET on Mac OSX 10.4 or later. The gcc that runs on 10.3 and earlier does not understand the compiler flag it maps to...
|
17 years ago |
David Cole
|
1dee719cdc
BUG: Fix issue #6195. Add CMAKE_OSX_DEPLOYMENT_TARGET cache variable to specify the target deployment runtime OS version of the built executables on Mac OSX. Thanks to Mike Jackson for the patch.
|
17 years ago |
David Cole
|
b640257884
BUG: Fix install_name_tool problem on the Mac when a PROJECT(... NONE) is followed by multiple calls to ENABLE_LANGUAGE. Use find_program to set the CMAKE_INSTALL_NAME_TOOL variable so it gets saved in the cache as a full path to the install_name_tool executable rather than a simple set which eventually goes out of scope.
|
17 years ago |
Bill Hoffman
|
736da84b4f
BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATH
|
17 years ago |
Brad King
|
4e5e3161a3
BUG: Fix dylib versioning flags for old OSX.
|
17 years ago |
Brad King
|
0d54001276
ENH: Set version info for shared libs on OSX.
|
17 years ago |
Bill Hoffman
|
d4fdbeed64
ENH: allow users to set sysroot
|
17 years ago |
Brad King
|
ed76198b84
ENH: Cleanup building of OS X bundle content
|
18 years ago |
Brad King
|
82fcaebe28
ENH: Pass dependent library search path to linker on some platforms.
|
18 years ago |
Brad King
|
2cff26fa52
ENH: Support linking to shared libs with dependent libs
|
18 years ago |
Brad King
|
2a78288064
ENH: Convert Modules/Platform specification of system search paths to use CMAKE_SYSTEM_PREFIX_PATH when possible.
|
18 years ago |
Bill Hoffman
|
90e6f983de
ENH: add support for env var and better default for CMAKE_OSX_SYSROOT
|
18 years ago |
Bill Hoffman
|
2f23d79969
ENH: fix bug in default arch, it was using the environment variable which is not a default
|
18 years ago |
David Cole
|
e3572607f4
BUG: Do not us the search_paths_first flag on older Mac OSX (10.2 and earlier) systems.
|
18 years ago |
Bill Hoffman
|
5765fbbb88
ENH: fix spelling error
|
18 years ago |
Bill Hoffman
|
397d7ff29d
ENH: try to fix boostrap on 10.5
|
18 years ago |