summarylogtreecommitdiffstats
path: root/fix-occ-search.patch
diff options
context:
space:
mode:
authorMarkus Hovorka2017-05-19 11:56:39 +0200
committerMarkus Hovorka2017-05-19 11:56:39 +0200
commitdc465119e64f948ae0a669913984325aad7fb59d (patch)
tree033c3157bf4ed5b74ebcd078a506023f51037bf9 /fix-occ-search.patch
parentd7214cca4037b5f0d790c711f703d556f3463842 (diff)
parent69549d556f021e9f6313f6882e133f3ac7e47886 (diff)
downloadaur-dc465119e64f948ae0a669913984325aad7fb59d.tar.gz
Merge branch 'master' of ssh://aur.archlinux.org/freecad-git
Diffstat (limited to 'fix-occ-search.patch')
-rw-r--r--fix-occ-search.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/fix-occ-search.patch b/fix-occ-search.patch
new file mode 100644
index 00000000000..6f770258a2d
--- /dev/null
+++ b/fix-occ-search.patch
@@ -0,0 +1,24 @@
+diff --git a/cMake/FindOpenCasCade.cmake b/cMake/FindOpenCasCade.cmake
+index 9944b8ade..2f60ba7dd 100644
+--- a/cMake/FindOpenCasCade.cmake
++++ b/cMake/FindOpenCasCade.cmake
+@@ -56,17 +56,8 @@ else(OCE_FOUND) #look for OpenCASCADE
+ )
+ endif(CYGWIN OR MINGW)
+ else(WIN32)
+- FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
+- /usr/include/opencascade
+- /usr/local/include/opencascade
+- /opt/opencascade/include
+- /opt/opencascade/inc
+- )
+- FIND_LIBRARY(OCC_LIBRARY TKernel
+- /usr/lib
+- /usr/local/lib
+- /opt/opencascade/lib
+- )
++ FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx)
++ FIND_LIBRARY(OCC_LIBRARY TKernel)
+ endif(WIN32)
+ if(OCC_LIBRARY)
+ GET_FILENAME_COMPONENT(OCC_LIBRARY_DIR ${OCC_LIBRARY} PATH)