[Bf-blender-cvs] [c8ed9e27a1c] epoxy: link libepoxy
Christian Rauch
noreply at git.blender.org
Mon Jul 4 10:52:53 CEST 2022
Commit: c8ed9e27a1cd77441348158649bf5eede2c7975c
Author: Christian Rauch
Date: Fri Jun 24 23:31:35 2022 +0100
Branches: epoxy
https://developer.blender.org/rBc8ed9e27a1cd77441348158649bf5eede2c7975c
link libepoxy
===================================================================
M CMakeLists.txt
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0619cc11211..88cbc43401d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1320,6 +1320,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