summaryrefslogtreecommitdiffstats
path: root/src/netcdf-cxx4-1-fixes.patch
blob: 161ec48787e594bdbca72637d37be54545dfbb5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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}
   )