On 05/09/2014 12:05 PM, Christoph Grüninger wrote:

But if A is not installed, find_package generates an annoying and
disruptive warning message. I always check what went wrong to simply
find out, that I have not provided the path to A, just as I wanted.
I would prefer to get a single line stating "-- Could NOT find A"

I guess you could have that easily enough with something similar to:

  find_package(A QUIET)
  if(NOT A_FOUND)
    message(STATUS "Could NOT find A")
  endif()

Nils
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to