OpenCSG.cmake 602 B

1234567891011121314151617
  1. prusaslicer_add_cmake_project(OpenCSG
  2. # GIT_REPOSITORY https://github.com/floriankirsch/OpenCSG.git
  3. # GIT_TAG 83e274457b46c9ad11a4ee599203250b1618f3b9 #v1.4.2
  4. URL https://github.com/floriankirsch/OpenCSG/archive/refs/tags/opencsg-1-4-2-release.zip
  5. URL_HASH SHA256=51afe0db79af8386e2027d56d685177135581e0ee82ade9d7f2caff8deab5ec5
  6. PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt.in ./CMakeLists.txt
  7. DEPENDS dep_GLEW
  8. )
  9. if (TARGET ${ZLIB_PKG})
  10. add_dependencies(dep_OpenCSG ${ZLIB_PKG})
  11. endif()
  12. if (MSVC)
  13. add_debug_dep(dep_OpenCSG)
  14. endif ()