On 08/04/2010 09:57 AM, Dave Semeraro wrote:
> I am building projects on an AIX system and I want the contents of the 
> link.txt file to not include the -blibpath information at the end. I have 
> tried all combinations of the CMAKE_SKIP_RPATH and other rpath related 
> commands and can not get rid of it. I have read the rpath info on the wiki. 
> Is there a setting for cmake that will allow me to do this or do I have to 
> edit the link.txt files by hand. I would rather not do that as there are lots 
> of them. 

This should do it:

  set(CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH "")

See the comment in "Modules/Platform/AIX.cmake" in the CMake
installation.  Also see the "libpath" comments in the source
tree at "Source/cmComputeLinkInformation.cxx".

-Brad
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to