From: bruneton Date: Wed, 30 Oct 2013 12:51:52 +0000 (+0000) Subject: Completed doc of check logic for SALOME_GENERATE_ENVIRONMENT_SCRIPT X-Git-Tag: BR_hydro_v_0_3_1~41 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d53cc8e563bbd1f044a4b51a7b45b1c10ad96574;p=modules%2Fkernel.git Completed doc of check logic for SALOME_GENERATE_ENVIRONMENT_SCRIPT --- diff --git a/salome_adm/cmake_files/SalomeMacros.cmake b/salome_adm/cmake_files/SalomeMacros.cmake index 36dd8b771..855698179 100755 --- a/salome_adm/cmake_files/SalomeMacros.cmake +++ b/salome_adm/cmake_files/SalomeMacros.cmake @@ -659,6 +659,10 @@ ENDMACRO(SALOME_ACCUMULATE_HEADERS) # - If in arguments is set keyword CHECK all argument after checked for directory, # else if NOT_CHECK macro accumulates arguments without checking. # By default all arguments without keyword must be checked. +# Checking an argument means that we check: +# - that the path actually exists +# - that this is not a standard system path (starting with "/usr"). This avoids +# polluting LD_LIBRARY_PATH or PATH with things like "/usr/lib64" ... # MACRO(SALOME_ACCUMULATE_ENVIRONMENT envvar) SET(_is_check ON)