summarylogtreecommitdiffstats
path: root/OCCT.cmake.patch
blob: 4c3f9b88410ea9ead31944388310dfd88b01fcf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- OCCT.cmake	2024-11-06 02:22:36.051548136 -0500
+++ deps/OCCT/OCCT.cmake	2024-11-06 01:55:21.127532070 -0500
@@ -8,7 +8,7 @@
     URL https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_6_0.zip
     URL_HASH SHA256=28334f0e98f1b1629799783e9b4d21e05349d89e695809d7e6dfa45ea43e1dbc
     #PATCH_COMMAND ${PATCH_CMD} ${CMAKE_CURRENT_LIST_DIR}/0001-OCCT-fix.patch
+    PATCH_COMMAND ${GIT_EXECUTABLE} apply --verbose --ignore-space-change --whitespace=fix ${CMAKE_CURRENT_LIST_DIR}/0001-OCCT-fix.patch
-    PATCH_COMMAND ${GIT_EXECUTABLE} apply --directory deps/build/dep_OCCT-prefix/src/dep_OCCT --verbose --ignore-space-change --whitespace=fix ${CMAKE_CURRENT_LIST_DIR}/0001-OCCT-fix.patch
     #DEPENDS dep_Boost
     #DEPENDS dep_FREETYPE
     CMAKE_ARGS
@@ -30,4 +30,4 @@
 
 if (DEP_BUILD_FREETYPE)
     add_dependencies(dep_OCCT ${FREETYPE_PKG})
+endif ()
-endif ()
\ No newline at end of file