aboutsummaryrefslogtreecommitdiff
path: root/ports/plplot/install-interface-include-directories.patch
blob: 3e124b5d001b4048a50f6cb65bf6bddcdd845cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)