Fixing detection of Debian version

This commit is contained in:
Carles Fernandez 2014-10-18 09:10:13 +02:00
parent 67434d212c
commit 47b0ab9880
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
)
if(${LINUX_DISTRIBUTION} MATCHES "Debian")
set(LINUX_DISTRIBUTION "Debian")
file(READ /etc/debian_version LINUX_VER)
endif(${LINUX_DISTRIBUTION} MATCHES "Debian")
endif(EXISTS "/etc/os-release")
endif(NOT LINUX_DISTRIBUTION)