ClickHouse/detect_distributive.cmake

6 lines
249 B
CMake
Raw Normal View History

2016-02-07 20:02:44 +00:00
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)