MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014536 | CMake | CPack | public | 2013-10-31 19:11 | 2014-06-02 08:37 |
Reporter | Clinton Stimpson | ||||
Assigned To | Clinton Stimpson | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Mac OS X | OS | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0014536: DragNDrop generator gives Rez error if using alternate Xcode and SDK. | ||||
Description | If I don't download Xcode through the App Store, but through the website, and install it in an alternate location, I get problems running the CPack DragNDrop generator. e.g. Xcode 4.6.3 on OSX 10.9, and no Xcode 5 installed. For some reason, to even compile successfully, I have to set CMAKE_OSX_SYSROOT. Also, Rez cannot find <CoreServices/CoreServices.r> Rez has an -isysroot option to find it. So, if CMAKE_OSX_ROOT is defined, it should be passed to Rez as well. | ||||
Steps To Reproduce | |||||
Additional Information | Something like this might work. In cmCPackDragNDropGenerator.cxx cmOStringStream embed_sla_command; embed_sla_command << this->GetOption("CPACK_COMMAND_REZ"); + const char* sysroot = this->GetOption("CMAKE_OSX_SYSROOT"); + if(sysroot) + { + embed_sla_command << " -isysroot \"" << sysroot << "\""; + } And CMAKE_OSX_SYSROOT needs to be passed down to cpack by setting it in CPackConfig.cmake. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-10-31 19:11 | Clinton Stimpson | New Issue | |||
2013-10-31 22:26 | Clinton Stimpson | Assigned To | => Clinton Stimpson | ||
2013-10-31 22:26 | Clinton Stimpson | Status | new => assigned | ||
2013-10-31 22:27 | Clinton Stimpson | Note Added: 0034300 | |||
2013-10-31 22:27 | Clinton Stimpson | Status | assigned => resolved | ||
2013-10-31 22:27 | Clinton Stimpson | Resolution | open => fixed | ||
2014-06-02 08:37 | Robert Maynard | Note Added: 0035972 | |||
2014-06-02 08:37 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|