aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/compiler/cmake/linux/NvCloth.cmake
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2018-05-03 18:22:48 +0200
committerMarijn Tamis <[email protected]>2018-05-03 18:22:48 +0200
commitca32c59a58d37c1822e185a2d5f3d0d3e8943593 (patch)
treeb06b9eec03f34344ef8fc31aa147b2714d3962ee /NvCloth/compiler/cmake/linux/NvCloth.cmake
parentForced rename of platform folders in cmake dir. Git didn't pick this up before. (diff)
downloadnvcloth-ca32c59a58d37c1822e185a2d5f3d0d3e8943593.tar.xz
nvcloth-ca32c59a58d37c1822e185a2d5f3d0d3e8943593.zip
NvCloth 1.1.4 Release. (24070740)
Diffstat (limited to 'NvCloth/compiler/cmake/linux/NvCloth.cmake')
-rw-r--r--NvCloth/compiler/cmake/linux/NvCloth.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/NvCloth/compiler/cmake/linux/NvCloth.cmake b/NvCloth/compiler/cmake/linux/NvCloth.cmake
index 323efd5..1d53df6 100644
--- a/NvCloth/compiler/cmake/linux/NvCloth.cmake
+++ b/NvCloth/compiler/cmake/linux/NvCloth.cmake
@@ -119,7 +119,11 @@ LIST(APPEND NVCLOTH_COMPILE_DEFS
)
ENDIF()
-SET(NVCLOTH_LIBTYPE SHARED)
+IF(DEFINED PX_STATIC_LIBRARIES)
+ SET(NVCLOTH_LIBTYPE STATIC)
+ELSE()
+ SET(NVCLOTH_LIBTYPE SHARED)
+ENDIF()
# include common NvCloth settings
INCLUDE(../common/NvCloth.cmake)