View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014536CMakeCPackpublic2013-10-31 19:112014-06-02 08:37
ReporterClinton Stimpson 
Assigned ToClinton Stimpson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformMac OS XOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0014536: 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.

Additional InformationSomething 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0034300)
Clinton Stimpson (developer)
2013-10-31 22:27

193029c cpack: For DragNDrop generator, add sysroot option when calling Rez.
(0035972)
Robert Maynard (manager)
2014-06-02 08:37

Closing resolved issues that have not been updated in more than 4 months.

 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


Copyright © 2000 - 2018 MantisBT Team