mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-19 05:33:02 +00:00
Fixing detection of Debian version
This commit is contained in:
parent
67434d212c
commit
47b0ab9880
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user