This commit is contained in:
Laurent Perron
2022-02-22 10:37:32 +01:00
parent fb79dedb2d
commit ffe0ff95b7

View File

@@ -166,7 +166,7 @@ ifeq ("$(SYSTEM)","win")
CBC_PLATFORM = $(CBC_PLATFORM_PREFIX)-$(VS_RELEASE)-Release
# Detect Python
PYTHON_VERSION ?= $(shell -c "from sys import version_info as v; print (str(v[0]) + str(v[1]))")
PYTHON_VERSION ?= $(shell python -c "from sys import version_info as v; print (str(v[0]) + str(v[1]))")
endif # ($(SYSTEM),win)
# Get github revision level