diff options
Diffstat (limited to 'vcpkg/ports/plplot/install-interface-include-directories.patch')
| -rw-r--r-- | vcpkg/ports/plplot/install-interface-include-directories.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/plplot/install-interface-include-directories.patch b/vcpkg/ports/plplot/install-interface-include-directories.patch new file mode 100644 index 0000000..99ec812 --- /dev/null +++ b/vcpkg/ports/plplot/install-interface-include-directories.patch @@ -0,0 +1,12 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 757b4ed..7dfd6e3 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -295,6 +295,7 @@ endif(NOT ENABLE_DYNDRIVERS AND ANY_QT_DEVICE AND PLPLOT_USE_QT5) + + configure_library_build(plplot "" "${plplot_LIB_SRCS}" "${libplplot_LINK_LIBRARIES}" "${LIB_INSTALL_RPATH}") + add_dependencies(${WRITEABLE_TARGET}plplot plhershey-unicode.h_built) ++target_include_directories(${WRITEABLE_TARGET}plplot INTERFACE $<INSTALL_INTERFACE:include>) + + if(NOT ENABLE_DYNDRIVERS AND (PLD_wxwidgets OR PLD_wxpng)) + set_property(TARGET ${WRITEABLE_TARGET}plplot |