File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ find_package(Python3 REQUIRED)
2929# Ensure libclang is installed
3030execute_process (
3131 COMMAND ${Python3_EXECUTABLE} -c "import clang"
32- RESULT_VARIABLE EXIT_CODE
33- LIBCLANG_EXISTS
32+ RESULT_VARIABLE LIBCLANG_EXISTS
3433)
3534
3635if (NOT LIBCLANG_EXISTS EQUAL "0" )
@@ -48,11 +47,10 @@ endif()
4847# Ensure Jinja2 is installed
4948execute_process (
5049 COMMAND ${Python3_EXECUTABLE} -c "import jinja2"
51- RESULT_VARIABLE EXIT_CODE
52- JINJA_EXISTS
50+ RESULT_VARIABLE JINJA_EXISTS
5351)
5452
55- if (NOT LIBCLANG_EXISTS EQUAL "0" )
53+ if (NOT JINJA_EXISTS EQUAL "0" )
5654 set (JINJA2_INSTALL_CMD ${JINJA2_INSTALL_CMD} --break-system-packages)
5755 if (${Python3_VERSION} VERSION_GREATER_EQUAL "3.12" )
5856 set (JINJA2_INSTALL_CMD ${JINJA2_INSTALL_CMD} --break-system-packages)
You can’t perform that action at this time.
0 commit comments