File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -197,14 +197,9 @@ install(EXPORT ${PROJECT_NAME}_targets
197197
198198# add a target to generate API documentation with Doxygen
199199# Dependencies: Doxygen and proto2cpp.py
200- FIND_PACKAGE (Doxygen)
201- set (FILTER_PROTO2CPP_PY_PATH CACHE PATH "directory to the filter proto2cpp.py" )
202-
203- if (NOT DOXYGEN_FOUND)
204-
205- message (WARNING "Doxygen could not be found." )
206-
207- else ()
200+ find_package (Doxygen)
201+ if (Doxygen_FOUND)
202+ set (FILTER_PROTO2CPP_PY_PATH CACHE PATH "directory to the filter proto2cpp.py" )
208203
209204 if (NOT EXISTS ${FILTER_PROTO2CPP_PY_PATH} /proto2cpp.py)
210205
@@ -223,4 +218,4 @@ else()
223218
224219 endif (NOT EXISTS ${FILTER_PROTO2CPP_PY_PATH} /proto2cpp.py)
225220
226- endif (NOT DOXYGEN_FOUND )
221+ endif ()
You can’t perform that action at this time.
0 commit comments