Enable exception handling on occt release builds Fix #462

This commit is contained in:
Thomas Krijnen
2018-09-18 13:39:44 +02:00
parent 3bf8aba54f
commit b461a66526
3 changed files with 28 additions and 5 deletions
+1
View File
@@ -479,6 +479,7 @@ if USE_OCCT:
download_url = "https://git.dev.opencascade.org/repos/occt.git",
download_name = "occt",
download_tool=download_tool_git,
patch="./patches/occt/enable-exception-handling.patch",
revision="V%s" % OCCT_VERSION.replace('.', '_'))
else:
build_dependency(name="oce-%s" % (OCE_VERSION,), mode="cmake", build_tool_args=["-DOCE_DISABLE_TKSERVICE_FONT=ON", "-DOCE_TESTING=OFF", "-DOCE_BUILD_SHARED_LIB=OFF", "-DOCE_DISABLE_X11=ON", "-DOCE_VISUALISATION=OFF", "-DOCE_OCAF=OFF", "-DOCE_INSTALL_PREFIX=%s/install/oce-%s" % (DEPS_DIR, OCE_VERSION)], download_url="https://github.com/tpaviot/oce/archive/", download_name="OCE-%s.tar.gz" % (OCE_VERSION,))