Skip to content

Commit

Permalink
Some blanks at the end of the line eliminated.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukuchi committed Feb 3, 2017
1 parent 0c4577c commit 8595f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindIconv.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if(ICONV_INCLUDE_DIR AND EXISTS "${ICONV_INCLUDE_DIR}/iconv.h")
string(REGEX REPLACE "0*([1-9][0-9]*).*" "\\1" ICONV_VERSION_MAJOR "${ICONV_VERSION_MAJOR}")
string(REGEX REPLACE "0*([1-9][0-9]*).*" "\\1" ICONV_VERSION_MINOR "${ICONV_VERSION_MINOR}")
string(REGEX REPLACE "0*([1-9][0-9]*).*" "\\1" ICONV_VERSION_PATCH "${ICONV_VERSION_PATCH}")

set(ICONV_VERSION_STRING "${ICONV_VERSION_MAJOR}.${ICONV_VERSION_MINOR}")
if(ICONV_VERSION_PATCH)
set(ICONV_VERSION_STRING "${ICONV_VERSION_STRING}.${ICONV_VERSION_PATCH}")
Expand Down

0 comments on commit 8595f90

Please sign in to comment.