From d53cc8e563bbd1f044a4b51a7b45b1c10ad96574 Mon Sep 17 00:00:00 2001 From: bruneton Date: Wed, 30 Oct 2013 12:51:52 +0000 Subject: [PATCH] Completed doc of check logic for SALOME_GENERATE_ENVIRONMENT_SCRIPT --- salome_adm/cmake_files/SalomeMacros.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.2