Хак для Астра 1.5
This commit is contained in:
parent
6be68e5e51
commit
f0760fcd11
@ -1,5 +1,14 @@
|
||||
# based on https://github.com/bluescarni/yacma
|
||||
|
||||
find_program(LSB_RELEASE NAMES lsb_release)
|
||||
if (LSB_RELEASE)
|
||||
execute_process(COMMAND ${LSB_RELEASE} -d -s OUTPUT_VARIABLE LSB_DESC)
|
||||
if ("${LSB_DESC}" STREQUAL "Astra Linux SE 1.5 (Smolensk)")
|
||||
set(_CMAKE_TOOLCHAIN_PREFIX "x86_64-linux-gnu-")
|
||||
set(_CMAKE_TOOLCHAIN_SUFFIX "-4.7")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
||||
macro(CHECK_ENABLE_CXX_FLAG flag)
|
||||
|
Loading…
Reference in New Issue
Block a user