diff --git a/CMLibLSBInfo.cmake b/CMLibLSBInfo.cmake index 95affec..e61168c 100644 --- a/CMLibLSBInfo.cmake +++ b/CMLibLSBInfo.cmake @@ -13,7 +13,9 @@ set(LSB_RELEASE "unknown") if (EXISTS /etc/mcst_version) set(LSB_DISTRIBUTOR_ID "ElbrusD") set(LSB_CODENAME "Jessie") - execute_process(COMMAND cat /etc/mcst_version OUTPUT_VARIABLE LSB_RELEASE) + execute_process(COMMAND cat /etc/mcst_version + OUTPUT_VARIABLE LSB_RELEASE + OUTPUT_STRIP_TRAILING_WHITESPACE) else() find_program(_lsb_release_executable lsb_release) if(_lsb_release_executable)