Qhull.cmake 480 B

1234567891011121314151617181920
  1. include(GNUInstallDirs)
  2. set(_patch_step "")
  3. if (APPLE)
  4. set(_patch_step PATCH_COMMAND ${PATCH_CMD} ${CMAKE_CURRENT_LIST_DIR}/Qhull.patch)
  5. endif ()
  6. prusaslicer_add_cmake_project(Qhull
  7. URL "https://github.com/qhull/qhull/archive/v8.0.1.zip"
  8. URL_HASH SHA256=5287f5edd6a0372588f5d6640799086a4033d89d19711023ef8229dd9301d69b
  9. "${_patch_step}"
  10. CMAKE_ARGS
  11. -DINCLUDE_INSTALL_DIR=${CMAKE_INSTALL_INCLUDEDIR}
  12. )
  13. if (MSVC)
  14. add_debug_dep(dep_Qhull)
  15. endif ()