2022-07-26 12:48:26 +00:00
|
|
|
prusaslicer_add_cmake_project(OCCT
|
|
|
|
#LMBBS: changed version to 7.6.2
|
|
|
|
URL https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_6_2.zip
|
|
|
|
URL_HASH SHA256=c696b923593e8c18d059709717dbf155b3e72fdd283c8522047a790ec3a432c5
|
|
|
|
|
|
|
|
CMAKE_ARGS
|
|
|
|
-DINSTALL_DIR_LAYOUT=Unix # LMBBS
|
|
|
|
-DBUILD_LIBRARY_TYPE=Static
|
|
|
|
-DUSE_TK=OFF
|
|
|
|
-DUSE_TBB=OFF
|
|
|
|
-DUSE_FREETYPE=OFF
|
|
|
|
-DUSE_FFMPEG=OFF
|
|
|
|
-DUSE_VTK=OFF
|
|
|
|
-DUSE_FREETYPE=OFF
|
|
|
|
-DBUILD_MODULE_ApplicationFramework=OFF
|
|
|
|
#-DBUILD_MODULE_DataExchange=OFF
|
|
|
|
-DBUILD_MODULE_Draw=OFF
|
|
|
|
-DBUILD_MODULE_FoundationClasses=OFF
|
|
|
|
-DBUILD_MODULE_ModelingAlgorithms=OFF
|
|
|
|
-DBUILD_MODULE_ModelingData=OFF
|
|
|
|
-DBUILD_MODULE_Visualization=OFF
|
|
|
|
)
|
2022-08-23 15:27:30 +00:00
|
|
|
|
2022-08-24 11:45:57 +00:00
|
|
|
# TODO: debug mode does not compile
|
|
|
|
# if (MSVC)
|
|
|
|
# add_debug_dep(dep_OCCT)
|
|
|
|
# endif ()
|