On 19. Oct, 2010, at 9:48 , Maik Beckmann wrote:

> 2010/10/19 Michael Wild <[email protected]>:
>> 
>> While I agree that it should be added to the documentation of find_package, 
>> it is what most people would expect (except when they get bitten by it). 
>> Most people would be pretty stumped if CMake wouldn't search in the 
>> installation prefix.
>> 
>> My 2 cents...
> 
> I did expect that CMAKE_INSTALL_PREFIX is searched before the sytem
> prefix, because usually an explicit setting done by the user overrules
> a default.
> 
> But I can understand that this might cause trouble when creating
> packages for Linux distros.

Oh, wait, I'm sorry. I misread your message. I agree with you; I would expect 
CMAKE_INSTALL_PREFIX to be searched first.


Michael

--
There is always a well-known solution to every human problem -- neat, 
plausible, and wrong.
H. L. Mencken

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
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