Skip to content

Commit

Permalink
Use correct variable for python executable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexk101 committed Mar 5, 2024
1 parent 86af77d commit 882c98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RenderStateNotation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ execute_process(
)

if(NOT JINJA_EXISTS EQUAL "0")
set(JINJA2_INSTALL_CMD ${JINJA2_INSTALL_CMD} -m pip install jinja2)
set(JINJA2_INSTALL_CMD ${Python3_EXECUTABLE} -m pip install jinja2)
if(${Python3_VERSION} VERSION_GREATER_EQUAL "3.12")
set(JINJA2_INSTALL_CMD ${JINJA2_INSTALL_CMD} --break-system-packages)
endif()
Expand Down

0 comments on commit 882c98c

Please sign in to comment.