Hello,

I am using find_package in Module mode for a Library that is also build using cmake. The Library is build in a way that it can be used both from the build dir, and from the installed location.

When using find_package it always seems to prefer the build dir version, which is somewhat surprising since I expect the default to be the (supposably more stable) installed version and that the build dir version (that could be broken at any time) needs some explicit interaction.

Is the current state the way it is supposed to be? Can I force CMake to do what I want?

Best regards

Fabio

--
Dipl.-Inf. Fabio Fracassi
BZMM - Charite & Fraunhofer IPK (bzmm.charite.de)
Augustenburger Platz. 1
13353 Berlin
Tel. +49 (0)30 / 450 555 185

--

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