View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009051 | CMake | CMake | public | 2009-05-19 10:13 | 2009-05-19 11:25 | ||||
Reporter | Michael Wild | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0009051: CMake does not pass CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET when running TRY_COMPILE | ||||||||
Description | When one does invokes TRY_COMPILE one would expect that CMake also passes CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET to the test project such that it compiles under the same conditions as the actual project will. This is currently not the case and the default values are picked. See the attached patch for a fix. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0016527) Bill Hoffman (manager) 2009-05-19 11:10 |
I guess why we have not seen this is that we always use the shell environment variables. export CMAKE_OSX_SYSROOT=... export OSX_DEPLOYMENT_TARGET=... cmake ../source In this case it will work. |
(0016528) Bill Hoffman (manager) 2009-05-19 11:25 |
$ cvs commit -m "BUG: fix for 0009051 CMake does not pass CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET when running TRY_COMPILE" cmCoreTryCompile.cxx Committer: Bill Hoffman <bill.hoffman@kitware.com> /cvsroot/CMake/CMake/Source/cmCoreTryCompile.cxx,v <-- cmCoreTryCompile.cxx new revision: 1.13; previous revision: 1.12 |
(0016529) Bill Hoffman (manager) 2009-05-19 11:25 |
Thanks. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-05-19 10:13 | Michael Wild | New Issue | |
2009-05-19 10:13 | Michael Wild | File Added: fix_cmCoreTryCompile_to_pass_CMAKE_OSX_variables.patch | |
2009-05-19 11:10 | Bill Hoffman | Note Added: 0016527 | |
2009-05-19 11:10 | Bill Hoffman | Status | new => assigned |
2009-05-19 11:10 | Bill Hoffman | Assigned To | => Bill Hoffman |
2009-05-19 11:25 | Bill Hoffman | Note Added: 0016528 | |
2009-05-19 11:25 | Bill Hoffman | Note Added: 0016529 | |
2009-05-19 11:25 | Bill Hoffman | Status | assigned => closed |
2009-05-19 11:25 | Bill Hoffman | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |