From 54409423f767d8b1cf30cb7d0efca6b4ca138823 Mon Sep 17 00:00:00 2001 From: Ethan Morgan Date: Sat, 14 Feb 2026 16:44:06 +0000 Subject: move to own git server --- vcpkg/ports/opencascade/install-include-dir.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vcpkg/ports/opencascade/install-include-dir.patch (limited to 'vcpkg/ports/opencascade/install-include-dir.patch') diff --git a/vcpkg/ports/opencascade/install-include-dir.patch b/vcpkg/ports/opencascade/install-include-dir.patch new file mode 100644 index 0000000..f250fbb --- /dev/null +++ b/vcpkg/ports/opencascade/install-include-dir.patch @@ -0,0 +1,16 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 715adb7c2e..a06f8a8c88 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1375,6 +1375,11 @@ foreach (OCCT_MODULE ${OCCT_MODULES}) + endforeach() + set (OCCT_MODULES_ENABLED ${OCCT_MODULES_ENABLED_SORTED}) + ++foreach (OCCT_LIBRARY IN LISTS OCCT_LIBRARIES) ++ target_include_directories(${OCCT_LIBRARY} INTERFACE $) # OpenCASCADE_INCLUDE_DIR ++ target_include_directories(${OCCT_LIBRARY} INTERFACE $) # vcpkg lock-in ++endforeach() ++ + # Add all targets to the build-tree export set + export (TARGETS ${OCCT_LIBRARIES} FILE "${CMAKE_BINARY_DIR}/OpenCASCADETargets.cmake") + -- cgit v1.2.3