To include VXL, I do this:<br><br>FIND_PACKAGE(VXL REQUIRED)<br>INCLUDE(${VXL_CMAKE_DIR}/UseVXL.cmake)<br><br>How can I make my projects work like that? Say I have a /Projects/Images folder that has a project including a CMakeLists.txt file. Then I start a project /Projects/NewProject and I want to use some stuff from the Images project. Now I have to do this:<br>
<br>set(Images /home/user/src/Projects/Images)<br>set(ImagesSources<br>${Images}/Angles.cpp <br>${Images}/Color.cpp <br>${Images}/Ray.cpp <br>)<br><br>Or something like that - and clearly that would not work if I went to a different computer and had the Images directory in a different location.  How could I &quot;find&quot; it?<br>
<br clear="all">Thanks,<br><br>David<br>