From f001c5f9fe37dd9bd600180e9d058d3880b6523d Mon Sep 17 00:00:00 2001 From: Christian Schmitt Date: Sun, 26 Aug 2012 11:55:45 +0200 Subject: [PATCH] DetectDistro.cmake: Correct the lsb_release name --- CMakeModules/DetectDistro.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5