diff options
author | Philip Lowman <philip@yhbt.com> | 2009-01-30 20:13:07 (GMT) |
---|---|---|
committer | Philip Lowman <philip@yhbt.com> | 2009-01-30 20:13:07 (GMT) |
commit | 1569f5d0e46e7f763326b8e0e9f6529e3a0247d6 (patch) | |
tree | d833f17c2bf2357f21d87f86d6928457828950f6 /Modules/FindProducer.cmake | |
parent | 901b4b6c3f4e44ba9286236181da44b1e967e5e8 (diff) | |
download | CMake-1569f5d0e46e7f763326b8e0e9f6529e3a0247d6.zip CMake-1569f5d0e46e7f763326b8e0e9f6529e3a0247d6.tar.gz CMake-1569f5d0e46e7f763326b8e0e9f6529e3a0247d6.tar.bz2 |
BUG: Fix other modules not respecting QUIET and REQUIRED
Diffstat (limited to 'Modules/FindProducer.cmake')
-rw-r--r-- | Modules/FindProducer.cmake | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Modules/FindProducer.cmake b/Modules/FindProducer.cmake index db51d3a..d8151ef 100644 --- a/Modules/FindProducer.cmake +++ b/Modules/FindProducer.cmake @@ -64,9 +64,6 @@ FIND_LIBRARY(PRODUCER_LIBRARY /opt ) -SET(PRODUCER_FOUND "NO") -IF(PRODUCER_LIBRARY AND PRODUCER_INCLUDE_DIR) - SET(PRODUCER_FOUND "YES") -ENDIF(PRODUCER_LIBRARY AND PRODUCER_INCLUDE_DIR) - - +include(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(Producer DEFAULT_MSG + PRODUCER_LIBRARY PRODUCER_INCLUDE_DIR) |