DetectDistro.cmake: Correct the lsb_release name
This commit is contained in:
parent
5c78970663
commit
f001c5f9fe
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ message(STATUS "System is: ${CMAKE_SYSTEM_NAME}")
|
|||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
# Detect Linux distribution (if possible)
|
||||
execute_process(COMMAND "/usr/bin/lsb-release" "-is"
|
||||
execute_process(COMMAND "/usr/bin/lsb_release" "-is"
|
||||
TIMEOUT 4
|
||||
OUTPUT_VARIABLE LINUX_DISTRO
|
||||
ERROR_QUIET
|
||||
|
|
Loading…
Add table
Reference in a new issue