mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
* Update config/examples/HDF5AsSubdirMacros.cmake * Move f90 config file and remove m4 dir
26 lines
1.0 KiB
CMake
26 lines
1.0 KiB
CMake
#
|
|
# Copyright by The HDF Group.
|
|
# All rights reserved.
|
|
#
|
|
# This file is part of HDF5. The full HDF5 copyright notice, including
|
|
# terms governing use, modification, and redistribution, is contained in
|
|
# the LICENSE file, which can be found at the root of the source code
|
|
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
|
# If you do not have access to either file, you may request a copy from
|
|
# help@hdfgroup.org.
|
|
#
|
|
|
|
###############################################################################
|
|
# This file included from HDFCompilerFlags.cmake with
|
|
# if (CMAKE_C_COMPILER_ID MATCHES "MSVC")
|
|
###############################################################################
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Compiler specific flags
|
|
#-----------------------------------------------------------------------------
|
|
|
|
# MSVC 14.28 enables C5105, but the Windows SDK 10.0.18362.0 triggers it.
|
|
if (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 19.28)
|
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -wd5105")
|
|
endif ()
|