From f391e8f316bd29b700cef874a59cf3b64203d70c Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 8 Jul 2022 15:15:02 +0200 Subject: Linux: Move Mesa software OpenGL libraries to sub-directory Allows to put libraries which are always needed by Blender into the lib/ folder and not worry about OpenGL libraries picked up from there. Currently no functional changes as we do not yet have dynamic libraries which we load at startup. It allows to use direct linking of oneAPI Cycles device (see D15397), also it is something which would need to happen to support USD/Hydra/TBB compiler as dynamic libraries in the future. Differential Revision: https://developer.blender.org/D15403 --- source/creator/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/creator') diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 7457358698d..278cd4362c3 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -511,7 +511,7 @@ if(UNIX AND NOT APPLE) endif() if(EXISTS ${LIBDIR}/mesa) - install(DIRECTORY ${LIBDIR}/mesa/lib DESTINATION ".") + install(DIRECTORY ${LIBDIR}/mesa/lib/ DESTINATION "lib/mesa/") install( PROGRAMS -- cgit v1.2.3