Brad King wrote:
Alexander Neundorf wrote:
So, I think it would be nice if find_package(NO_MODULE) would restore the FIND_QUIETLY variable to the state it was before (as I'm doing here manually).

Good idea.  I don't think we make any guarantee either way about the
value of this variable *after* a call, but we do document how it is set
*inside* the find-module (which is the case after the call in your
example), so we should preserve it.

I've added this to my todo-list.  Fortunately fixing it won't break your
work-around.

Done.  Please try it from CVS HEAD.

-Brad


/cvsroot/CMake/CMake/Source/cmFindPackageCommand.cxx,v <-- Source/cmFindPackageCommand.cxx
new revision: 1.50; previous revision: 1.49
/cvsroot/CMake/CMake/Source/cmFindPackageCommand.h,v <-- Source/cmFindPackageCommand.h
new revision: 1.26; previous revision: 1.25
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to