OCCT.cmake 732 B

12345678910111213141516171819202122
  1. prusaslicer_add_cmake_project(OCCT
  2. #LMBBS: changed version to 7.6.2
  3. URL https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_6_2.zip
  4. URL_HASH SHA256=c696b923593e8c18d059709717dbf155b3e72fdd283c8522047a790ec3a432c5
  5. CMAKE_ARGS
  6. -DINSTALL_DIR_LAYOUT=Unix # LMBBS
  7. -DBUILD_LIBRARY_TYPE=Static
  8. -DUSE_TK=OFF
  9. -DUSE_TBB=OFF
  10. -DUSE_FREETYPE=OFF
  11. -DUSE_FFMPEG=OFF
  12. -DUSE_VTK=OFF
  13. -DUSE_FREETYPE=OFF
  14. -DBUILD_MODULE_ApplicationFramework=OFF
  15. #-DBUILD_MODULE_DataExchange=OFF
  16. -DBUILD_MODULE_Draw=OFF
  17. -DBUILD_MODULE_FoundationClasses=OFF
  18. -DBUILD_MODULE_ModelingAlgorithms=OFF
  19. -DBUILD_MODULE_ModelingData=OFF
  20. -DBUILD_MODULE_Visualization=OFF
  21. )