]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CMake: creation of the macros SALOME_UPDATE_FLAG_AND_LOG_PACKAGE() and SALOME_PACKAGE...
authorbruneton <bruneton>
Tue, 27 Aug 2013 08:57:32 +0000 (08:57 +0000)
committerbruneton <bruneton>
Tue, 27 Aug 2013 08:57:32 +0000 (08:57 +0000)
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()

salome_adm/cmake_files/SalomeMacros.cmake

index 454bb47e6c5bc880fd567f0037528c5c878c8984..c056a22c4237cb53b0ba356c48a31ec58c5672d7 100755 (executable)
@@ -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)