OCCT.cmake 821 B

1234567891011121314151617181920212223
  1. 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. PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/occt_toolkit.cmake ./adm/cmake/
  6. CMAKE_ARGS
  7. -DINSTALL_DIR_LAYOUT=Unix # LMBBS
  8. -DBUILD_LIBRARY_TYPE=Static
  9. -DUSE_TK=OFF
  10. -DUSE_TBB=OFF
  11. -DUSE_FREETYPE=OFF
  12. -DUSE_FFMPEG=OFF
  13. -DUSE_VTK=OFF
  14. -DUSE_FREETYPE=OFF
  15. -DBUILD_MODULE_ApplicationFramework=OFF
  16. #-DBUILD_MODULE_DataExchange=OFF
  17. -DBUILD_MODULE_Draw=OFF
  18. -DBUILD_MODULE_FoundationClasses=OFF
  19. -DBUILD_MODULE_ModelingAlgorithms=OFF
  20. -DBUILD_MODULE_ModelingData=OFF
  21. -DBUILD_MODULE_Visualization=OFF
  22. )