Merge pull request #67 from xantares/mingw1

CMake: Set specific INSTALL_DATA_DIR only on MSVC
This commit is contained in:
Larry Knox
2020-10-31 10:54:36 -05:00
committed by GitHub

View File

@@ -343,7 +343,7 @@ macro (HDF_DIR_PATHS package_prefix)
set (${package_prefix}_INSTALL_INCLUDE_DIR include)
endif ()
if (NOT ${package_prefix}_INSTALL_DATA_DIR)
if (NOT WIN32)
if (NOT MSVC)
if (APPLE)
if (${package_prefix}_BUILD_FRAMEWORKS)
set (${package_prefix}_INSTALL_EXTRA_DIR ../SharedSupport)