Hi,
Just a thought. We are incorporating 3rd party library Bullet in our own library. This can be done on two levels (via an option). Either by sources (which is standard practice with Bullet), or by linking to the built Bullet libraries directly. Now find_package(BULLET) (i.e. the findBullet.cmake script) sets BULLET_FOUND to true only if the include directory *and* the libraries are found. But if we only use the sources, we don't need the libs and we ignore the BULLET_FOUND "error" if they don't exist but still use the path to the include directories. Wouldn't it be good if you could extend find_package() with some kind of "SOURCE-ONLY" communication or do you think that is the responsibility of the find<package>.cmake writer? Thanks, Daniel Dekkers
-- 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
