1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

cmake: Fixed a warning on OS/2 if the compiler version is empty.

This commit is contained in:
Andreas Schneider
2010-12-31 14:41:50 +01:00
parent f46bf41813
commit 98b5f07631

View File

@@ -28,7 +28,7 @@ function(COMPILER_DUMPVERSION _OUTPUT_VERSION)
)
string(REGEX REPLACE "([0-9])\\.([0-9])(\\.[0-9])?" "\\1\\2"
_COMPILER_VERSION ${_COMPILER_VERSION})
_COMPILER_VERSION "${_COMPILER_VERSION}")
set(${_OUTPUT_VERSION} ${_COMPILER_VERSION} PARENT_SCOPE)
endfunction()