-------- Original-Nachricht --------
Datum: Thu, 5 Oct 2006 10:35:43 +0200
Von: Xavier Delannoy <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED]
Betreff: [CMake] issue with INSTALL and CMAKE_INSTALL_PREFIX
> hi,
>
> I use CMake 2.4.1 under FreeBSD6.1.
>
> in my CMakeLists.txt (for a shared library) I have :
>
> SET(CMAKE_INSTALL_PREFIX "$ENV{DESTDIRPREFIX}")
> MESSAGE(STATUS "CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}")
> INSTALL(TARGETS nbase_shared DESTINATION /usr/Firewall/lib)
If you use an absolute path (starting with "/") with the new INSTALL() command,
it will be interpreted as absolute path. If you use a relative path
("usr/Firewall/lib") it will be interpreted as relative to CMAKE_INSTALL_PREFIX.
Does this help ?
Bye
Alex
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake