BUG: Fix other modules not respecting QUIET and REQUIRED
This commit is contained in:
parent
901b4b6c3f
commit
1569f5d0e4
@ -64,7 +64,7 @@ FIND_PROGRAM(DOXYGEN_EXECUTABLE
|
|||||||
)
|
)
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(DOXYGEN DEFAULT_MSG DOXYGEN_EXECUTABLE)
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Doxygen DEFAULT_MSG DOXYGEN_EXECUTABLE)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Find Dot...
|
# Find Dot...
|
||||||
@ -85,10 +85,8 @@ IF(NOT DOXYGEN_SKIP_DOT)
|
|||||||
DOC "Graphviz Dot tool for using Doxygen"
|
DOC "Graphviz Dot tool for using Doxygen"
|
||||||
)
|
)
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(DOXYGEN_DOT DEFAULT_MSG DOXYGEN_DOT_EXECUTABLE)
|
|
||||||
|
|
||||||
if(DOXYGEN_DOT_EXECUTABLE)
|
if(DOXYGEN_DOT_EXECUTABLE)
|
||||||
|
set(DOXYGEN_DOT_FOUND TRUE)
|
||||||
# The Doxyfile wants the path to Dot, not the entire path and executable
|
# The Doxyfile wants the path to Dot, not the entire path and executable
|
||||||
get_filename_component(DOXYGEN_DOT_PATH "${DOXYGEN_DOT_EXECUTABLE}" PATH CACHE)
|
get_filename_component(DOXYGEN_DOT_PATH "${DOXYGEN_DOT_EXECUTABLE}" PATH CACHE)
|
||||||
endif()
|
endif()
|
||||||
|
@ -137,5 +137,5 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(OPENTHREADS DEFAULT_MSG
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenThreads DEFAULT_MSG
|
||||||
OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
|
OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
|
||||||
|
@ -64,9 +64,6 @@ FIND_LIBRARY(PRODUCER_LIBRARY
|
|||||||
/opt
|
/opt
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(PRODUCER_FOUND "NO")
|
include(FindPackageHandleStandardArgs)
|
||||||
IF(PRODUCER_LIBRARY AND PRODUCER_INCLUDE_DIR)
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Producer DEFAULT_MSG
|
||||||
SET(PRODUCER_FOUND "YES")
|
PRODUCER_LIBRARY PRODUCER_INCLUDE_DIR)
|
||||||
ENDIF(PRODUCER_LIBRARY AND PRODUCER_INCLUDE_DIR)
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user