mxe/src/netcdf-cxx4-1-fixes.patch

22 lines
666 B
Diff

This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Sun, 1 Jul 2018 23:03:49 +1000
Subject: [PATCH 1/1] specify correct *.dll install directory
see: https://github.com/Unidata/netcdf-cxx4/issues/57
diff --git a/cxx4/CMakeLists.txt b/cxx4/CMakeLists.txt
index 1111111..2222222 100644
--- a/cxx4/CMakeLists.txt
+++ b/cxx4/CMakeLists.txt
@@ -44,4 +44,5 @@ INSTALL(
INSTALL(
TARGETS netcdf-cxx4
DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)