From: bruneton Date: Tue, 27 Aug 2013 08:57:32 +0000 (+0000) Subject: CMake: creation of the macros SALOME_UPDATE_FLAG_AND_LOG_PACKAGE() and SALOME_PACKAGE... X-Git-Tag: begin_agr_portmanager_branch_131004~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f78e5fe89e98bbf9d8d4ae8d3ecb7863c87dbd14;p=modules%2Fkernel.git CMake: creation of the macros SALOME_UPDATE_FLAG_AND_LOG_PACKAGE() and SALOME_PACKAGE_REPORT(). The two are used to register optional packages and to turn off specific configuration flags when the optional prerequisites is not found. The final setup is printed on screen through SALOME_PACKAGE_REPORT() --- diff --git a/salome_adm/cmake_files/SalomeMacros.cmake b/salome_adm/cmake_files/SalomeMacros.cmake index 454bb47e6..c056a22c4 100755 --- a/salome_adm/cmake_files/SalomeMacros.cmake +++ b/salome_adm/cmake_files/SalomeMacros.cmake @@ -242,7 +242,7 @@ MACRO(SALOME_UPDATE_FLAG_AND_LOG_PACKAGE pkg flag) ENDIF() # If the package was not found, force the cache flag to OFF - IF(NOT isFound) + IF(NOT _isFound) SET(${flag} OFF) ENDIF() ENDMACRO(SALOME_UPDATE_FLAG_AND_LOG_PACKAGE)