[Insight-users] CMake Issue
Kevin H. Hobbs
hobbsk at ohiou.edu
Fri Apr 9 05:37:22 EDT 2010
On 04/08/2010 05:13 PM, Stephen Yip wrote:
> I do not want to change the link every time I configure. What should I
> do so that Cmake would go to the ITK build folder automatically?
>
> Thanks,
> Stephen
I set these variables in my ~/.bash_profile
ITK=~/kitware/Insight_Build
VTK=~/kitware/VTK_Build
CMAKE_LIBRARY_PATH=$ITK
CMAKE_LIBRARY_PATH=$VTK:$CMAKE_LIBRARY_PATH
export CMAKE_LIBRARY_PATH
CMAKE_INCLUDE_PATH=$ITK
CMAKE_INCLUDE_PATH=$VTK:$CMAKE_INCLUDE_PATH
export CMAKE_INCLUDE_PATH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100409/8bfc478b/attachment.pgp>
More information about the Insight-users
mailing list