[Bf-blender-cvs] [a484b71cd18] epoxy: link libepoxy
Christian Rauch
noreply at git.blender.org
Fri Jul 1 11:22:02 CEST 2022
Commit: a484b71cd18b7347224ad0e88d0f8732cc03efb0
Author: Christian Rauch
Date: Fri Jun 24 23:31:35 2022 +0100
Branches: epoxy
https://developer.blender.org/rBa484b71cd18b7347224ad0e88d0f8732cc03efb0
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