Linear Collider Forum



Home » Software Tools » Marlin et al » CMake with local package
Re: CMake with local package [message #2342 is a reply to message #2341] Tue, 04 November 2014 22:35 Go to previous messageGo to previous message
sailer
Messages: 34
Registered: February 2009
This should work (did not test it though):
cmake -C /group/ilc/soft/ilcsoft/x86_64_gcc44/v01-17-06/ILCSoft.cmake -D LCFIVertex_DIR=/home/ilc/jstrube/public/LCFIVertex/  ..

-C Loads a cache file
-D changes /defines variables. and Find_package (LCFIVetrtex) should then look in the LCFIVertex_DIR.
Otherwise LCFIVertex is found via the CMAKE_PREFIX_PATH defined in the $ILCSOFT/ILCSoft.cmake

http://www.cmake.org/cmake/help/v3.0/manual/cmake.1.html

Edit: corrected statement about where LCFIVertex is found.

[Updated on: Tue, 04 November 2014 22:46]

 
Read Message
Read Message
Read Message
Previous Topic:new ilcsoft developers release v01-17-05
Next Topic:iLCSoft release v01-17-06
Goto Forum:
  


Current Time: Tue Dec 11 09:49:58 Pacific Standard Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software