Commits

Scott Lawrence  committed 7649a3d

storm-1906: correct cmake error when using precompiled llphysicsextensions_tpv

  • Participants
  • Parent commits ac2fa4b
  • Tags DRTVWR-201

Comments (0)

Files changed (1)

File indra/newview/CMakeLists.txt

 include(GLOD)
 include(CMakeCopyIfDifferent)
 
-add_subdirectory(${LLPHYSICSEXTENSIONS_SRC_DIR} llphysicsextensions)
+if (NOT HAVOK_TPV)
+   # When using HAVOK_TPV, the library is precompiled, so no need for this
+   add_subdirectory(${LLPHYSICSEXTENSIONS_SRC_DIR} llphysicsextensions)
+endif (NOT HAVOK_TPV)
 
 include_directories(
     ${DBUSGLIB_INCLUDE_DIRS}