mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 17:07:50 +08:00
15cb53b9dd
* 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.
14 lines
457 B
Diff
14 lines
457 B
Diff
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)
|