cmake-fix-variable.patch 687 B

12345678910111213
  1. diff -Naur occt-V7_3_0/adm/templates/OpenCASCADEConfig.cmake.in occt-V7_3_0_new/adm/templates/OpenCASCADEConfig.cmake.in
  2. --- occt-V7_3_0/adm/templates/OpenCASCADEConfig.cmake.in 2018-05-29 12:14:02.000000000 +0200
  3. +++ occt-V7_3_0.new/adm/templates/OpenCASCADEConfig.cmake.in 2018-05-29 12:14:02.000000000 +0200
  4. @@ -26,7 +26,7 @@
  5. if (OpenCASCADE_INSTALL_PREFIX MATCHES "/cmake$")
  6. get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
  7. endif()
  8. -if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib$")
  9. +if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib(64)?$")
  10. get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
  11. endif()