diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2014-05-28 13:17:57 +0200 |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2014-05-28 13:17:57 +0200 |
commit | 21ec5f8451884435aec7291bd3cc049389f5fb82 (patch) | |
tree | a01523963b566ba2346e2899626de038f82c84fb /Modules/CPackDeb.cmake | |
parent | 960f140d19c9432f5e901cc2a1f24725f6fbc83e (diff) | |
download | cmake-21ec5f8451884435aec7291bd3cc049389f5fb82.tar.gz |
CPackDeb: Invoke "dpkg-shlibdeps --version" with C locale
The version message is localized and may not match when a non-english locale is in use.
Diffstat (limited to 'Modules/CPackDeb.cmake')
-rw-r--r-- | Modules/CPackDeb.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake index 458bbed264..8a4fa49c12 100644 --- a/Modules/CPackDeb.cmake +++ b/Modules/CPackDeb.cmake @@ -240,7 +240,7 @@ if(CPACK_DEBIAN_PACKAGE_SHLIBDEPS) # Check version of the dpkg-shlibdeps tool using CPackRPM method if(SHLIBDEPS_EXECUTABLE) - execute_process(COMMAND ${SHLIBDEPS_EXECUTABLE} --version + execute_process(COMMAND env LC_ALL=C ${SHLIBDEPS_EXECUTABLE} --version OUTPUT_VARIABLE _TMP_VERSION ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) |