We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbcdbf8 commit 816e34eCopy full SHA for 816e34e
CMakeLists.txt
@@ -128,7 +128,7 @@ endif()
128
129
# parse the full version number from zlib.h and include in ZLIB_FULL_VERSION
130
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/zlib.h _zlib_h_contents)
131
-string(REGEX REPLACE ".*#define[ \t]+ZLIB_VERSION[ \t]+\"([0-9A-Za-z.]+)\".*"
+string(REGEX REPLACE ".*#define[ \t]+ZLIB_VERSION[ \t]+\"([-0-9A-Za-z.]+)\".*"
132
"\\1" ZLIB_FULL_VERSION ${_zlib_h_contents})
133
134
if(MINGW)
0 commit comments