Skip to content
Snippets Groups Projects
Commit 9787f7a7 authored by Marco Clemencic's avatar Marco Clemencic Committed by Dmitry Popov
Browse files

Do not use xenv from LCG

parent 02cc4596
No related branches found
No related tags found
No related merge requests found
......@@ -18,4 +18,12 @@ if(NOT CMAKE_SOURCE_DIR MATCHES "CMakeTmp")
message(FATAL_ERROR "Cannot find GaudiToolchainMacros.cmake")
endif()
# FIXME: make sure we do not pick up unwanted/problematic projects from LCG
if(CMAKE_PREFIX_PATH)
# - ninja (it requires LD_LIBRARY_PATH set to run)
# - Gaudi (we do not want to use it from LCG)
# - xenv (conflicts with the version in the build environment)
list(FILTER CMAKE_PREFIX_PATH EXCLUDE REGEX "(LCG_|lcg/nightlies).*(ninja|Gaudi|xenv)")
endif()
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment