summaryrefslogtreecommitdiff
path: root/indra/cmake/PluginAPI.cmake
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-09-03 20:30:12 +0300
committerGitHub <noreply@github.com>2025-09-03 20:30:12 +0300
commit90aa693f2a9ece9f1c624dba245f202e126bca5b (patch)
treefae8bca7bb3f3ac05972803e2fefc05de8542408 /indra/cmake/PluginAPI.cmake
parent5593cde0e85d4d4b06efacffb6f00ed2fadb188a (diff)
parent5ffcd3dc88892a651fe9a95974280efb85e18a8b (diff)
Merge Changes for support of apple silicon on macOS
Mac Arm
Diffstat (limited to 'indra/cmake/PluginAPI.cmake')
-rw-r--r--indra/cmake/PluginAPI.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/PluginAPI.cmake b/indra/cmake/PluginAPI.cmake
index 114415e514..a2bf13db2c 100644
--- a/indra/cmake/PluginAPI.cmake
+++ b/indra/cmake/PluginAPI.cmake
@@ -1,5 +1,7 @@
# -*- cmake -*-
+include(OpenGL)
+
add_library( ll::pluginlibraries INTERFACE IMPORTED )
if (WINDOWS)
@@ -13,4 +15,6 @@ if (WINDOWS)
)
endif (WINDOWS)
+target_link_libraries( ll::pluginlibraries INTERFACE OpenGL::GL)
+target_include_directories( ll::pluginlibraries INTERFACE ${CMAKE_SOURCE_DIR}/llimage ${CMAKE_SOURCE_DIR}/llrender)