mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-15 18:22:51 +02:00
Set cmake OpenGL default to legacy in Dockerfile
This commit is contained in:
parent
e4f59f1ec4
commit
7246c3f304
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ exec /usr/bin/pkg-config --static "\$@"
|
|||
EOF
|
||||
RUN sed -i '/CMAKE_${lang}_FLAGS_DEBUG_INIT/s/")/ -O0 {% if LTO %}-fno-lto -fno-use-linker-plugin -fuse-ld=lld{% endif %}")/' /usr/share/cmake/Modules/Compiler/GNU.cmake
|
||||
RUN sed -i 's/NO_DEFAULT_PATH//g; s/PKG_CONFIG_ALLOW_SYSTEM_LIBS/PKG_CONFIG_IS_DUMB/g' /usr/share/cmake/Modules/FindPkgConfig.cmake
|
||||
RUN sed -i 's/set(OpenGL_GL_PREFERENCE "")/set(OpenGL_GL_PREFERENCE "LEGACY")/' /usr/share/cmake/Modules/FindOpenGL.cmake
|
||||
RUN sed -i '/Requires.private: valgrind/d' /usr/lib64/pkgconfig/libdrm.pc
|
||||
RUN echo set debuginfod enabled on > /opt/rh/$TOOLSET/root/etc/gdbinit.d/00-debuginfod.gdb
|
||||
RUN adduser user
|
||||
|
|
Loading…
Add table
Reference in a new issue