summaryrefslogtreecommitdiffstats
path: root/config/cmake/ZLIB
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2024-03-13 15:10:38 (GMT)
committerGitHub <noreply@github.com>2024-03-13 15:10:38 (GMT)
commitc1f761bcbd2e5b9f13aaf302d9ee75fe8ba98258 (patch)
tree69b00b14006668457fb932a0d9b2a194f264c0bf /config/cmake/ZLIB
parentcfb1c798b9bbf4dbe875cfc63babfd677d7cddde (diff)
downloadhdf5-c1f761bcbd2e5b9f13aaf302d9ee75fe8ba98258.zip
hdf5-c1f761bcbd2e5b9f13aaf302d9ee75fe8ba98258.tar.gz
hdf5-c1f761bcbd2e5b9f13aaf302d9ee75fe8ba98258.tar.bz2
Remove invalid compile flag (#4129)
Diffstat (limited to 'config/cmake/ZLIB')
-rw-r--r--config/cmake/ZLIB/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/ZLIB/CMakeLists.txt b/config/cmake/ZLIB/CMakeLists.txt
index 09f67b0..529f144 100644
--- a/config/cmake/ZLIB/CMakeLists.txt
+++ b/config/cmake/ZLIB/CMakeLists.txt
@@ -132,7 +132,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -Wno-strict-prototypes")
endif ()
if (CMAKE_C_COMPILER_ID MATCHES "IntelLLVM" OR CMAKE_C_COMPILER_ID MATCHES "[Cc]lang")
- set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -Wno-deprecated-non-prototype -Wno-implicit-function-declaration")
+ set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -Wno-implicit-function-declaration")
endif ()
#-----------------------------------------------------------------------------