[Bf-blender-cvs] [051308698ab] epoxy: link libepoxy

Christian Rauch noreply at git.blender.org
Sat Jun 25 14:06:49 CEST 2022


Commit: 051308698ab31207f64aee4ce0a43f9cf581cd0a
Author: Christian Rauch
Date:   Fri Jun 24 23:31:35 2022 +0100
Branches: epoxy
https://developer.blender.org/rB051308698ab31207f64aee4ce0a43f9cf581cd0a

link libepoxy

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f06f18ef719..8458738457c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1294,6 +1294,11 @@ else()
   list(APPEND GL_DEFINITIONS -DWITH_GL_PROFILE_CORE)
 endif()
 
+# link libepoxy
+include(FindPkgConfig)
+pkg_check_modules(epoxy REQUIRED epoxy)
+list(APPEND BLENDER_GL_LIBRARIES ${epoxy_LIBRARIES})
+
 #-----------------------------------------------------------------------------
 # Configure Metal.
 if (WITH_METAL_BACKEND)



More information about the Bf-blender-cvs mailing list