summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llphysicsextensions/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llprimitive/llphysicsextensions/CMakeLists.txt')
-rw-r--r--indra/llprimitive/llphysicsextensions/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llprimitive/llphysicsextensions/CMakeLists.txt b/indra/llprimitive/llphysicsextensions/CMakeLists.txt
index 914fa7b886..fb15e7b782 100644
--- a/indra/llprimitive/llphysicsextensions/CMakeLists.txt
+++ b/indra/llprimitive/llphysicsextensions/CMakeLists.txt
@@ -79,7 +79,9 @@ list(REMOVE_ITEM ${PROJECT_NAME}_HEADER_FILES
LLConvexDecompositionStubImpl.h
LLPhysicsExtensionsStubImpl.h)
#install(FILES ${${PROJECT_NAME}_HEADER_FILES} DESTINATION include/${PROJECT_NAME})
-install(TARGETS ${PROJECT_NAME}stub DESTINATION lib)
+if (BUILD_SHARED_LIBS)
+ install(TARGETS ${PROJECT_NAME}stub DESTINATION lib)
+endif ()
if (LINUX)
IF(CMAKE_BUILD_TYPE MATCHES Release)