[CMake] New FIND_* stuff checked into CVS

Bill Hoffman bill.hoffman at kitware.com
Mon Mar 6 10:44:20 EST 2006


At 07:13 AM 3/6/2006, Alexander Neundorf wrote:
>>
> 
>Last weekend I was at Linuxtag Chemnitz (where I held a talk about cmake, 
>more about this later) and there was an additional idea: 
>CMAKE_INSTALL_PREFIX could/should also be checked, i.e. for headers 
>${CMAKE_INSTALL_PREFIX}/include, for libs ${CMAKE_INSTALL_PREFIX}/lib and 
>${CMAKE_INSTALL_PREFIX}/bin for executables. 
> 

Sounds reasonable.

>Does this make sense for you ? 
>(e.g. for KDE this makes a lot of sense, if you compile a kde module, 
>e.g. kdenetwork, you will want to install it to the same directory as 
>kdelibs, so this will also be the directory where a lot of stuff will be 
>found.) 
> 
>Should/could this be added to the FIND_XXX() commands ? 


>Should/could this be added to the appropriate FindFOO.cmake files ? 
>Should/could thios be done by adding this path to the appropriate 
>CMAKE_XXX_PATH variable ? 
I think this is the way to do it.  We can add it to the correct
CMAKE_SYSTEM_XXX_PATH, and using the current value of CMAKE_INSTALL_PREFIX
is a good idea.  I will look at doing this today.

-Bill 



More information about the CMake mailing list