Closed tonytheodore closed 5 years ago
When cross building for windows with mingw, the usual convention is to install dlls into bin rather than lib. The small change below achieves this:
bin
lib
diff --git a/cxx4/CMakeLists.txt b/cxx4/CMakeLists.txt index 431eb45..9d55faa 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} )
When cross building for windows with mingw, the usual convention is to install dlls into
bin
rather thanlib
. The small change below achieves this: