summaryrefslogtreecommitdiff
path: root/indra/cmake/PluginAPI.cmake
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-09-10 15:53:59 -0400
committerGitHub <noreply@github.com>2025-09-10 15:53:59 -0400
commit5b97823db6f7cec6569ef893499cf48f4a889e67 (patch)
tree79f368f096ba2c72a98627671c713a0a8abf332f /indra/cmake/PluginAPI.cmake
parent175400230869963df7a3f126122ace14456c56cb (diff)
parentdd1113ba2b62b24378e5b8ecfee0093474527c5a (diff)
Merge pull request #4636 from secondlife/project/mac_universal
Apple Silicon Support
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)