Re: [CMake] rpath business: CPack / running binaries in the build dir

2010-11-02 Thread Eric Noulard
2010/11/2 Szilárd Páll : > Hi, > > In order to be able to run binaries linked dynamically to some > libraries from the same project the rpath in the build directory has > to point to the lib directory in the build directory. However, this > brakes CPack which seems to require the > CMAKE_BUILD_WITH

[CMake] rpath business: CPack / running binaries in the build dir

2010-11-02 Thread Szilárd Páll
Hi, In order to be able to run binaries linked dynamically to some libraries from the same project the rpath in the build directory has to point to the lib directory in the build directory. However, this brakes CPack which seems to require the CMAKE_BUILD_WITH_INSTALL_RPATH set on to work flawless