Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Rauch <Rauch.Christian@gmx.de>2022-06-25 01:31:35 +0300
committerChristian Rauch <Rauch.Christian@gmx.de>2022-07-04 11:48:45 +0300
commitc8ed9e27a1cd77441348158649bf5eede2c7975c (patch)
treee514d8d4e6bfde5e567d4fc5b2141c7583d6791b
parent3f572bbdb07ce4743a8dcfb8d31680bd06e4ccf0 (diff)
link libepoxy
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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)