diff options
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) |