[CMake] CMake 2.6 - Runtime Error on OS X (10.4.11 Intel)

clinton at elemtech.com clinton at elemtech.com
Mon Jan 14 12:28:10 EST 2008


On Monday 14 January 2008 10:20:18 am Bill Hoffman wrote:
> Mike Jackson wrote:
> > I just built the latest CVS head of CMake and tried running on OS X
> > (10.4.11 Intel) and noticed a few things.
> >
> > 1: CMake Error: CMake executable cannot be found at
> > /Users/Shared/Toolkits/CMake-ICC/bin/QtDialog.app/Contents/MacOS/cmake
> >
> > Probably just a path issue between the .app bundle and the internal call
> > to cmake.
>
> This needs to be fixed, the QtDialog is not very tested right now,
> please create a bug entry for this.

Mike, did you change your copy of the code?  QtDialog should be looking 
for /Users/Shared/Toolkits/CMake-ICC/bin/cmake
instead of 
/Users/Shared/Toolkits/CMake-ICC/bin/QtDialog.app/Contents/MacOS/cmake

QCMake.cxx has
#elif defined(Q_OS_MAC)
  appDir.cd("../../../");
  this->CMakeExecutable = appDir.filePath("cmake");
  ...
to find cmake outside the bundle.

Clint


More information about the CMake mailing list