Skip to content

Commit 5eb6289

Browse files
authored
Change python version needed for '--break-system-packages' flag. (#250)
Debian 12 uses python 3.11 and needed this flag in order to compile DiligentEngine.
1 parent 28edd2f commit 5eb6289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RenderStateNotation/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ find_package(Python3 REQUIRED)
2929
set(LIBCLANG_INSTALL_CMD ${Python3_EXECUTABLE} -m pip install libclang==16.0.6)
3030
set(JINJA2_INSTALL_CMD ${Python3_EXECUTABLE} -m pip install jinja2)
3131

32-
if(${Python3_VERSION} VERSION_GREATER_EQUAL "3.12")
32+
if(${Python3_VERSION} VERSION_GREATER_EQUAL "3.11")
3333
set(LIBCLANG_INSTALL_CMD ${LIBCLANG_INSTALL_CMD} --break-system-packages)
3434
set(JINJA2_INSTALL_CMD ${JINJA2_INSTALL_CMD} --break-system-packages)
3535
endif()

0 commit comments

Comments
 (0)