diff --git a/cmake/ACGDoxygen.cmake b/cmake/ACGDoxygen.cmake index ee018f3fdfad5642b9a04ca162af3740059c2107..b43d1cb8d403f3f1d0c19b44fb2ad9aee984febd 100644 --- a/cmake/ACGDoxygen.cmake +++ b/cmake/ACGDoxygen.cmake @@ -18,8 +18,10 @@ # author Jan Woetzel 2004-2006 # www.mip.informatik.uni-kiel.de/~jw - -FIND_PACKAGE(Doxygen) +# Guard the finder here, to avoid calling it multiple times +IF (NOT DOXYGEN_FOUND) + FIND_PACKAGE(Doxygen) +endif() IF (DOXYGEN_FOUND)