Skip to content

Commit b636518

Browse files
committed
cmake: python.cmake venv fixup
1 parent 2d6ee8b commit b636518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/python.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ if(BUILD_VENV)
851851
# Must NOT call it in a folder containing the setup.py otherwise pip call it
852852
# (i.e. "python setup.py bdist") while we want to consume the wheel package
853853
COMMAND ${VENV_Python3_EXECUTABLE} -m pip install
854-
--find-links=${CMAKE_CURRENT_BINARY_DIR}/python/dist ${PYTHON_PROJECT}==${PROJECT_VERSION}
854+
--find-links=${CMAKE_CURRENT_BINARY_DIR}/python/dist ${PYTHON_PROJECT}==${PROJECT_VERSION}${PYTHON_RELEASE}
855855
# install modules only required to run examples
856856
COMMAND ${VENV_Python3_EXECUTABLE} -m pip install
857857
pandas matplotlib pytest scipy svgwrite

0 commit comments

Comments
 (0)