ClickHouse/detect_distributive.cmake
2016-02-07 23:02:44 +03:00

6 lines
249 B
CMake

IF(NOT DISTRIB_CODENAME)
EXEC_PROGRAM(". /etc/lsb-release ; echo $DISTRIB_CODENAME"
OUTPUT_VARIABLE DISTRIB_CODENAME)
SET(DISTRIB_CODENAME "${DISTRIB_CODENAME}" CACHE STRING "Distributive Codename")
ENDIF(NOT DISTRIB_CODENAME)