diff options
author | Nicky Dasmijn <nicky.dasmijn@posteo.nl> | 2022-09-17 11:21:06 +0200 |
---|---|---|
committer | Nicky Dasmijn <nicky.dasmijn@posteo.nl> | 2022-09-17 11:21:06 +0200 |
commit | 68c680599b3ee038a33bcad36ac52912725cf3cd (patch) | |
tree | 22ded8c7e702d630ab08464b385cb584b0c45c1b /indra/newview | |
parent | 31341ac605f3f1ae24568af3e09b200daef77b8f (diff) |
Try to make sure this also works with the havok version of llphysicsextension.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 2ad40faa37..74faf3d1b6 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -61,7 +61,12 @@ if (NOT HAVOK_TPV) # Another hack that works with newer cmake versions: cmake_policy( SET CMP0079 NEW) - target_link_libraries(llphysicsextensionsstub llcommon llmath) + if( TARGET llphysicsextensionsstub ) + target_link_libraries(llphysicsextensionsstub llcommon llmath) + endif() + if( TARGET llphysicsextensions ) + target_link_libraries(llphysicsextensions llrender ) + endif() endif (NOT HAVOK_TPV) |