Merge branch 'patch-27' of https://github.com/gsjaardema/netcdf-c into v4.6.2-release-branch.wif

This commit is contained in:
Ward Fisher 2018-11-14 11:29:07 -07:00
commit bec178002a

View File

@ -273,7 +273,7 @@ SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_SOURCE_DIR}/libsrc)
# Configuration for post-install RPath
# Adapted from http://www.cmake.org/Wiki/CMake_RPATH_handling
##
IF(NOT MSVC)
IF(NOT MSVC AND BUILD_SHARED_LIBS)
# use, i.e. don't skip the full RPATH for the build tree
SET(CMAKE_SKIP_BUILD_RPATH FALSE)