aboutsummaryrefslogtreecommitdiff
path: root/ports/plplot/install-interface-include-directories.patch
diff options
context:
space:
mode:
authorNagy-Egri Máté Ferenc <csiga.biga@aol.com>2018-03-24 00:24:04 +0100
committerRobert Schumacher <roschuma@microsoft.com>2018-03-23 16:24:04 -0700
commit15cb53b9ddd2d86fa9b7c5cdfc67b04ee87ac884 (patch)
tree545d70a2a883736e6041fbd4797111e859f7b8a6 /ports/plplot/install-interface-include-directories.patch
parent6c690a22837bff0804e7ea4c9b2934cf97cd2211 (diff)
downloadvcpkg-15cb53b9ddd2d86fa9b7c5cdfc67b04ee87ac884.tar.gz
vcpkg-15cb53b9ddd2d86fa9b7c5cdfc67b04ee87ac884.zip
Add port: PLplot (#3117)
* Initial commit - added plplot files * Added INTERFACE_INCLUDE_DIRECTORY to libplplot * Fix installation layout * Static linkage of plotting drivers (no need for PATH) * .patch file instead of overwrite * [plplot] Improve handling of cmake scripts. Avoid DLLS_WITHOUT_LIBS. Disable unused dependencies and require some.
Diffstat (limited to 'ports/plplot/install-interface-include-directories.patch')
-rw-r--r--ports/plplot/install-interface-include-directories.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/plplot/install-interface-include-directories.patch b/ports/plplot/install-interface-include-directories.patch
new file mode 100644
index 000000000..3e124b5d0
--- /dev/null
+++ b/ports/plplot/install-interface-include-directories.patch
@@ -0,0 +1,13 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index d81b6a7..6b51809 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -181,6 +181,8 @@ include_directories(
+ add_library(plplot ${plplot_LIB_SRCS})
+ add_dependencies(plplot plhershey-unicode.h_built)
+
++target_include_directories(plplot INTERFACE $<INSTALL_INTERFACE:include>)
++
+ # Deal with external libraries.
+ set(LIB_INSTALL_RPATH ${LIB_DIR})
+ set(libplplot_LINK_LIBRARIES)