OpenCSG.cmake 414 B

123456789101112131415
  1. prusaslicer_add_cmake_project(OpenCSG
  2. GIT_REPOSITORY https://github.com/floriankirsch/OpenCSG.git
  3. GIT_TAG 83e274457b46c9ad11a4ee599203250b1618f3b9 #v1.4.2
  4. PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt.in ./CMakeLists.txt
  5. DEPENDS dep_GLEW
  6. )
  7. if (TARGET dep_ZLIB)
  8. add_dependencies(dep_OpenCSG dep_ZLIB)
  9. endif()
  10. if (MSVC)
  11. add_debug_dep(dep_OpenCSG)
  12. endif ()