From: Christian Schmitt Date: Sun, 26 Aug 2012 09:55:45 +0000 (+0200) Subject: DetectDistro.cmake: Correct the lsb_release name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f001c5f9fe37dd9bd600180e9d058d3880b6523d;p=flightgear.git DetectDistro.cmake: Correct the lsb_release name --- diff --git a/CMakeModules/DetectDistro.cmake b/CMakeModules/DetectDistro.cmake index 99e82a0e3..5f81a4b71 100644 --- a/CMakeModules/DetectDistro.cmake +++ b/CMakeModules/DetectDistro.cmake @@ -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