1c23d710f7
OCCT 7.5.0 breaks ABI, and downstream packages such as FreeCAD fail to
build.
Keep the license change. We should also stick with their repository
instead of GitHub, which doesn't have all the releases.
This reverts commit abe75dc062
.
Closes: #29541 [via git-merge-pr]
14 lines
744 B
Diff
14 lines
744 B
Diff
# fix regex for cmake Config file
|
|
# inspired by https://git.archlinux.org/svntogit/community.git/commit/trunk/cmake-fix-variable.patch?h=packages/opencascade&id=c99074d88da40ae59882aaf173de94cd0ec73ca7
|
|
|
|
--- adm/templates/OpenCASCADEConfig.cmake.in 2019-01-27 00:18:42.763819658 -0500
|
|
+++ adm/templates/OpenCASCADEConfig.cmake.in 2019-01-27 23:40:32.872489521 -0500
|
|
@@ -26,7 +26,7 @@
|
|
if (OpenCASCADE_INSTALL_PREFIX MATCHES "/cmake$")
|
|
get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
|
|
endif()
|
|
-if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib$")
|
|
+if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib(32|64)?$")
|
|
get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
|
|
endif()
|
|
|