HACD.cmake 459 B

123456789101112131415
  1. # -*- cmake -*-
  2. if (HACD_CMAKE_INCLUDED)
  3. return()
  4. endif (HACD_CMAKE_INCLUDED)
  5. set (HACD_CMAKE_INCLUDED TRUE)
  6. # NOTE: it is extremely unlikely that our custom HACD is installed on a system.
  7. # So we unconditionally use our pre-built library, even when USESYSTEMLIBS is
  8. # ON. HB
  9. include(Prebuilt)
  10. use_prebuilt_binary(hacd)
  11. set(HACD_LIBRARY hacd)
  12. set(LLCONVEXDECOMP_LIBRARY nd_hacdConvexDecomposition)
  13. include_directories(SYSTEM ${LIBS_PREBUILT_DIR}/include)