aboutsummaryrefslogtreecommitdiff
path: root/ports/netcdf-c/no-install-deps.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-02-28 02:09:59 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-02-28 02:09:59 -0800
commit3cc5cb8bca033f980fa22f8792a12abc4e962df9 (patch)
tree88ce029acbb32e4dc2a3c3d6ad3c4469e16d7ddb /ports/netcdf-c/no-install-deps.patch
parent2c9cf2a520ca704e40f51756497f3bd833d45359 (diff)
downloadvcpkg-3cc5cb8bca033f980fa22f8792a12abc4e962df9.tar.gz
vcpkg-3cc5cb8bca033f980fa22f8792a12abc4e962df9.zip
[netcdf-c] Initial commit of version 4.4.1.1
Diffstat (limited to 'ports/netcdf-c/no-install-deps.patch')
-rw-r--r--ports/netcdf-c/no-install-deps.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/netcdf-c/no-install-deps.patch b/ports/netcdf-c/no-install-deps.patch
new file mode 100644
index 000000000..3d44b383e
--- /dev/null
+++ b/ports/netcdf-c/no-install-deps.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e87f3de..46892ee 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1570,7 +1570,7 @@ ADD_SUBDIRECTORY(docs)
+ # install them in the binary dir. Grab all of the .libs, put them
+ # in the libdir.
+ ##
+-IF(MSVC)
++IF(MSVC AND NOT DISABLE_INSTALL_DEPENDENCIES)
+ FILE(GLOB COPY_FILES ${CMAKE_PREFIX_PATH}/lib/*.lib)
+ INSTALL(FILES ${COPY_FILES}
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}