Zitat von Werner Smekal <sme...@iap.tuwien.ac.at>:
On 17.04.2009, at 10:02, Hendrik Sattler wrote:
Find_library() should only be used for libraries that are not system or compiler specific, e.g. you look but libfoo but never for libm.

But then cmake will complain/warn that you mix libraries with full path
with libraries without path information. Should these warnings be
ignored (why does cmake warn then in the first place) or how should
that be handled correctly?

cmake_policy(SET CMP0003 NEW) or cmake_policy(VERSION 2.6)
somewhere at the beginning of the top CMakeLists.txt file.

HS


_______________________________________________
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