2010/7/22 Lukáš Jirkovský <[email protected]>

> On 22 July 2010 18:37, Harry van der Wolf <[email protected]> wrote:
> >
> >
> > I see that I made a typo in cmake -cmake_install_dir="blahblah" ..
> > It should be: cmake -cmake_install_name_dir="blahblah" ..
> >
> > And  that's something completely different than the install prefix.
> > Sorry for the confusion.
> >
> > I'll go looking whether cmake is wrong or hugin.
> >
> > Harry
> >
>
> I think it is cmake -DINSTALL_NAME_DIR="blah" .
>
> Lukas
>
>

Oh, #?!$.

I seem to be making typos all the time. Sorry again.


According to the documentation it is:


   - *CMAKE_INSTALL_NAME_DIR*: Mac OSX directory name for installed targets.

   CMAKE_INSTALL_NAME_DIR is used to initialize the INSTALL_NAME_DIR
   property on all targets. See that target property for more information.



Which means that you use it in CMakeList.txt as


IF(APPLE)
  SET_TARGET_PROPERTIES(huginvigraimpex  PROPERTIES INSTALL_NAME_DIR
"${prefix}/lib")
ENDIF(APPLE)

(and I also tried:

IF(APPLE)
  SET_TARGET_PROPERTIES(huginvigraimpex  PROPERTIES INSTALL_NAME_DIR "${
CMAKE_INSTALL_PREFIX}/lib")
ENDIF(APPLE)

)

and on the command line as

cmake -dcmake_install_dir="blahblah" ..

Nothing works. (I think) I tried all options and also interchanged the
install_name_dir and cmake_install_name_dir.

I'll search further but I'll go over to the XCode build now.

Harry

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to