Commit b3df8807 authored by Charles Delort's avatar Charles Delort
Browse files

CORALCOOL-3077:fix default version of python issues

parent 42137f0e
......@@ -195,7 +195,7 @@ CMAKEFLAGS="-DLCG_releases_base:STRING=${lcgrel} $CMAKEFLAGS"
# Set up Python3 (CORALCOOL-2976)
# [This is a CORAL/COOL variable, not a CMake standard variable]
if [[ ${lcgrel} =~ "python3" ]]; then
if [[ ! ${lcgrel} =~ "python2" ]]; then
CMAKEFLAGS="-DLCG_python3=on $CMAKEFLAGS"
# Also set up Python_ADDITIONAL_VERSIONS
Python_config_version_twodigit=$(${lcgrel}/bin/python -V | awk '{split($2,a,"."); print a[1]"."a[2]}')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment