From 0b5c6951651b567992084f214bde54cc6b4a2267 Mon Sep 17 00:00:00 2001 From: ageay Date: Wed, 21 Aug 2013 08:03:28 +0000 Subject: [PATCH] Update with KERNEL file. --- .../cmake_files/FindSalomeDoxygen.cmake | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/adm_local_without_kernel/cmake_files/FindSalomeDoxygen.cmake b/adm_local_without_kernel/cmake_files/FindSalomeDoxygen.cmake index 430f1b438..b217886d3 100644 --- a/adm_local_without_kernel/cmake_files/FindSalomeDoxygen.cmake +++ b/adm_local_without_kernel/cmake_files/FindSalomeDoxygen.cmake @@ -23,6 +23,18 @@ # # !! Please read the generic detection procedure in SalomeMacros.cmake !! # +# Additional variables: +# +# DOXYGEN_SUPPORT_STL (string) [advanced] : set to YES if doxygen properly manages STL files +# or to NO otherwise (version 1.4.4 or older); see description of +# BUILTIN_STL_SUPPORT configuration variable in the doxygen documentation SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(Doxygen DOXYGEN_EXECUTABLE 2) -#MARK_AS_ADVANCED() +IF(DOXYGEN_FOUND) + IF(DOXYGEN_VERSION VERSION_LESS "1.4.5") + SET(DOXYGEN_SUPPORT_STL NO) + ELSE() + SET(DOXYGEN_SUPPORT_STL YES) + ENDIF() +ENDIF() +MARK_AS_ADVANCED(DOXYGEN_SUPPORT_STL) -- 2.39.2