diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-07-29 21:07:13 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-07-29 21:07:13 +0800 |
commit | 665a55a1a232877ccb499dbfd17806f438385e82 (patch) | |
tree | 657c930823e90fe941e2e7cfab41888ce37c4583 /indra/llprimitive | |
parent | 6e4f095baa8e33effe80b68ddf834a3b80f2bb67 (diff) |
The Linden libraries can be installed now
Useful when installed as shared libraries, so other viewer executables
can share these libraries.
Diffstat (limited to 'indra/llprimitive')
-rw-r--r-- | indra/llprimitive/CMakeLists.txt | 2 | ||||
-rw-r--r-- | indra/llprimitive/llphysicsextensions/CMakeLists.txt | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/indra/llprimitive/CMakeLists.txt b/indra/llprimitive/CMakeLists.txt index 3a3de75cd0..f26ab747af 100644 --- a/indra/llprimitive/CMakeLists.txt +++ b/indra/llprimitive/CMakeLists.txt @@ -72,6 +72,8 @@ if (NOT (USE_AUTOBUILD_3P OR USE_CONAN)) add_subdirectory(llphysicsextensions) endif () +include(LibraryInstall) + #add unit tests if (LL_TESTS) INCLUDE(LLAddBuildTest) diff --git a/indra/llprimitive/llphysicsextensions/CMakeLists.txt b/indra/llprimitive/llphysicsextensions/CMakeLists.txt index c950fc6560..c204dea264 100644 --- a/indra/llprimitive/llphysicsextensions/CMakeLists.txt +++ b/indra/llprimitive/llphysicsextensions/CMakeLists.txt @@ -74,6 +74,12 @@ list(APPEND llphysicsextensionsstub_SOURCE_FILES ${llphysicsextensions_HEADER_FI add_library(${PROJECT_NAME}stub ${${PROJECT_NAME}_SOURCE_FILES}) target_include_directories(${PROJECT_NAME}stub INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries(${PROJECT_NAME}stub llmath llcommon) +list(REMOVE_ITEM ${PROJECT_NAME}_HEADER_FILES + LLPathingLibStubImpl.h + LLConvexDecompositionStubImpl.h + LLPhysicsExtensionsStubImpl.h) +install(FILES ${${PROJECT_NAME}_HEADER_FILES} DESTINATION include/${PROJECT_NAME}) +install(TARGETS ${PROJECT_NAME}stub DESTINATION lib) if (LINUX) IF(CMAKE_BUILD_TYPE MATCHES Release) |