Ещё правка для Эльбрус-Д

This commit is contained in:
Andrei Astafev 2019-07-31 11:27:17 +03:00
parent f75aa661c6
commit 975f53d0ef

View File

@ -13,7 +13,9 @@ set(LSB_RELEASE "unknown")
if (EXISTS /etc/mcst_version) if (EXISTS /etc/mcst_version)
set(LSB_DISTRIBUTOR_ID "ElbrusD") set(LSB_DISTRIBUTOR_ID "ElbrusD")
set(LSB_CODENAME "Jessie") 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() else()
find_program(_lsb_release_executable lsb_release) find_program(_lsb_release_executable lsb_release)
if(_lsb_release_executable) if(_lsb_release_executable)